User tests: Successful: Unsuccessful:
Adding ability to use namespaces like
Components\MyComponent\Models\Item
if class in /components/com_mycomponent/models/item.php
and component overall uses namespaces
Admin
<=> Administrator
Components
Libraries
Plugins
Added checker for admin
and components
for com_
creating simple test class that uses namespace
and call it anywhere in other place
covered by #11061
Labels |
Added:
?
|
Category | ⇒ | Libraries |
I don't think I'm going to accept this as is. My reason is that whilst I'd like to see us support namespacing
I'd like to see us move to the standard agreed by the Joomla 4 group https://volunteer.joomla.org/reports/115-joomla-4-architecture-sprint-odense-dk and find the section called "Use of namespacing". The intention there was to use PSR-4 rather than PSR-0 as well. If you want to go implement please do!
Ideally but not quite as necessary as 1) if you could modify the MVC class finders to support the namespaced structure above it would be good :)
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-07-08 17:31:52 |
Closed_By | ⇒ | wilsonge |
@wilsonge , could you also look into this one?