Feature PR-5.2-dev Code Review Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
11 Apr 2024

Summary of Changes

The database object in Joomla returns an object implementing QueryInterface, but all our docblocks for getListQuery claim it is a DatabaseQuery object. This PR unifies this to use the QueryInterface everywhere. This set of changes is the result of a run of phpstan on our codebase.

Testing Instructions

Codereview.

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 - 11 Apr 2024
avatar Hackwar Hackwar - change - 11 Apr 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Apr 2024
Category Administration com_associations com_banners com_categories com_contact com_content com_contenthistory com_fields com_finder com_installer com_languages com_menus com_messages com_modules
avatar Hackwar Hackwar - change - 12 Apr 2024
Labels Added: PR-5.2-dev
avatar Hackwar Hackwar - change - 24 Apr 2024
Labels Added: Feature Code Review
avatar pe7er pe7er - change - 30 Apr 2024
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-04-30 13:53:01
Closed_By pe7er
avatar pe7er pe7er - close - 30 Apr 2024
avatar pe7er pe7er - merge - 30 Apr 2024
avatar pe7er
pe7er - comment - 30 Apr 2024

Thanks @Hackwar !

Add a Comment

Login with GitHub to post a comment