User tests: Successful: Unsuccessful:
JApplicationCli
is recomposed to inherit from the Framework's Joomla\Application\AbstractCliApplication
class now. This allows the CMS app class to use all features from the Framework.
To do so without losing features, several behaviors from the CMS app class chain are moved into traits and those are now used as appropriate.
This also follows through with the noted change to JApplicationCli
to make it abstract.
For CLI applications, they should continue to function as is with no changes. The changes I did make to the doExecute
method signatures just causes the visibility to match the parent definition.
Web applications should work too. Because of the trait implementations their code is reshuffled a bit but nothing changes from a practical standpoint.
The class inheritance for JApplicationCli
has changed, this will break instanceof
checks.
3.x:
JApplicationCli
JApplicationBase
Joomla\Application\AbstractApplication
4.0:
JApplicationCli
Joomla\Application\AbstractCliApplication
Joomla\Application\AbstractApplication
Also, as documented, JApplicationCli
is now abstract.
Status | New | ⇒ | Pending |
Labels |
Added:
?
?
|
Category | ⇒ | Administration CLI Libraries Unit Tests |
Labels |
Added:
?
|
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-09-18 15:09:47 |
Closed_By | ⇒ | wilsonge |
Correct. We can add a 4.x milestone
Thanks
Documentation added at https://docs.joomla.org/Potential_backward_compatibility_issues_in_Joomla_4
@wilsonge i think there is no reason to not add the 4.0 milestone correct?