PR-5.1-dev
Pending
-
Pending
continuous-integration/drone/pr
Build is pending
Details
User tests:
Successful:
Unsuccessful:
Followup Pull Request for PRs #42702 and #42704 . @Hackwar
Summary of Changes
replace extra app property and replace with injected application due service provider
Testing Instructions
check new options (#42702 and #42704) are still working as expected
Actual result BEFORE applying this Pull Request
app property in plugins are deprecated
|
if (property_exists($this, 'app')) { |
|
@trigger_error('The application should be injected through setApplication() and requested through getApplication().', E_USER_DEPRECATED); |
|
$reflection = new \ReflectionClass($this); |
|
$appProperty = $reflection->getProperty('app'); |
|
|
|
if ($appProperty->isPrivate() === false && \is_null($this->app)) { |
|
$this->app = Factory::getApplication(); |
|
} |
|
} |
Expected result AFTER applying this Pull Request
no deprecated app property is used in sef plugin
Link to documentations
Please select:
heelc29
-
open
-
29 Feb 2024
heelc29
-
change
-
29 Feb 2024
joomla-cms-bot
-
change
-
29 Feb 2024
Category |
|
⇒ |
Front End
Plugins
|
Status |
Pending |
⇒ |
Closed |
Closed_Date |
0000-00-00 00:00:00 |
⇒ |
2024-03-04 15:47:26 |
Closed_By |
|
⇒ |
heelc29 |
Labels |
Added:
PR-5.1-dev
|
heelc29
-
close
-
4 Mar 2024
Add a Comment
Login with GitHub to post a comment
#42932 includes these fixes.