PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
6 Aug 2025

Summary of Changes

PHPStan has an issue understanding the $this class in our layouts with shortened class names. This PR removes the imports and instead uses the full class name when hinting at the type of $this. This allows to reduce the baseline file considerably.

Testing Instructions

Since this is a change in docblocks, there isn't really anything to test. The passing of phpstan would be the indicator that this is working correctly.

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:

  • No documentation changes for manual.joomla.org needed

avatar Hackwar Hackwar - open - 6 Aug 2025
avatar Hackwar Hackwar - change - 6 Aug 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 6 Aug 2025
Category Administration com_associations com_joomlaupdate com_users Front End Plugins
avatar Hackwar Hackwar - change - 6 Aug 2025
Labels Added: PR-6.0-dev
avatar heelc29 heelc29 - test_item - 6 Aug 2025 - Tested successfully
avatar heelc29
heelc29 - comment - 6 Aug 2025

I have tested this item ✅ successfully on 06a678d

code review


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45854.

avatar laoneo
laoneo - comment - 6 Aug 2025

Had the same issue with my extension, this is the only valid fix for now.

Add a Comment

Login with GitHub to post a comment