Feature PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
2 Aug 2025

Summary of Changes

Extend Events related deprecation till Joomla 7.

Testing Instructions

Code review

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:
  • No documentation changes for docs.joomla.org needed
  • Pull Request link for manual.joomla.org: joomla/Manual#493
  • No documentation changes for manual.joomla.org needed
avatar Fedik Fedik - open - 2 Aug 2025
avatar Fedik Fedik - change - 2 Aug 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Aug 2025
Category Libraries
avatar Fedik
Fedik - comment - 2 Aug 2025

I think the phpstans error can be ignored here, because here is no real code changes, only comments.

avatar richard67
richard67 - comment - 2 Aug 2025

I think the phpstans error can be ignored here, because here is no real code changes, only comments.

Hmm, no, they would require to change the baseline file, as the deprecation doc block comments are changed with this PR, so they cause new messages for PHPstan.

avatar Fedik
Fedik - comment - 2 Aug 2025

I see, so need to edit them in baseline file, okay

avatar richard67
richard67 - comment - 2 Aug 2025

I see, so need to edit them in baseline file, okay

@Fedik Not edit. Just run ./libraries/vendor/bin/phpstan -b to recreate the baseline file, and ./libraries/vendor/bin/phpstan -vv to check the result (of course all after a composer install):

avatar Fedik Fedik - change - 3 Aug 2025
Labels Added: Feature PR-5.4-dev
avatar Fedik
Fedik - comment - 3 Aug 2025

Hm, not sure what is wrong with phpstan, on local run it does not show the error after update of baseline file

avatar richard67
richard67 - comment - 3 Aug 2025

Hm, not sure what is wrong with phpstan, on local run it does not show the error after update of baseline file

@Fedik I've just pushed a fix for that, and if that works I will also do it for your other PR.

avatar richard67
richard67 - comment - 3 Aug 2025

@Fedik P.S.: WHen running PHPstan it is important that the branch is clean and up to date. Clean means there are no composer dependencies from previous runs of composer install for other branches. To be sure of that, I always do a git clean -d -x -f and then a git checkout . to get rid of any changes, then maybe a git pull to be sure the local branch is up to date with the remove, then run composer installand then you can use phpstan.

avatar richard67
richard67 - comment - 3 Aug 2025

@Fedik P.P.S.: If you now check the changes om the phpstan-baseline.neon file in your PR you will see that there are no new entries, and only the version in the message has changed from 6 to 7. Maybe you can add this information to the testing instructions for reviewers.

avatar richard67
richard67 - comment - 3 Aug 2025

@Fedik P.P.S.: If you now check the changes of the phpstan-baseline.neon file in your PR you will see that there are no new entries, and only the version in the message has changed from 6 to 7. Maybe you can add this information to the testing instructions for reviewers.

avatar Fedik
Fedik - comment - 3 Aug 2025

@richard67 thanks!
I tried on "up to date" branch, but maybe still were something missed

avatar richard67
richard67 - comment - 3 Aug 2025

@Fedik Weird, for your other PR I have that problem, PHPstan work locally but fails on GitHub. Maybe something with cached results of phpstan? I will continue to check.

avatar muhme
muhme - comment - 9 Aug 2025

Final check before merge: Scrolled through file changes, including phpstan-baseline.neon

avatar muhme muhme - change - 9 Aug 2025
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-08-09 12:08:48
Closed_By muhme
avatar muhme muhme - close - 9 Aug 2025
avatar muhme muhme - merge - 9 Aug 2025
avatar muhme
muhme - comment - 9 Aug 2025

Thank you @Fedik for your contribution.

avatar richard67
richard67 - comment - 10 Aug 2025

@Fedik Do you know if we need some documentation on manual.joomla.org for this PR? If so: Could you make a PR there?

avatar Fedik Fedik - change - 10 Aug 2025
The description was changed
avatar Fedik Fedik - edited - 10 Aug 2025
avatar Fedik
Fedik - comment - 10 Aug 2025

Yes, I just added it for both PRs joomla/Manual#493

avatar richard67
richard67 - comment - 10 Aug 2025

@Fedik Thanks. That helps me maybe also with doing it for my PR #45878 .

Add a Comment

Login with GitHub to post a comment