PR-6.2-dev Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
18 May 2026
  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

Extends the PHPStan task for Github workflow that it updates the PHPStan baseline file when PHPStan was running successfully. If PHPStan fails then the baseline file will NOT be updated and the action aborts. I'v also made a change where I replaced some deprecated code, to illustrate how the functionality works. The commit is added by the bot in d1fc727.

Testing Instructions 1

  • Check the pr if there is a baseline update as some deprecated usage got removed

Testing Instructions 2

  • Create a local branch
  • Copy the /.github/workflows/ci.yml file to the branch
  • Add the code Joomla\CMS\Factory::getDbo(); to the file /libraries/src/Date/Date.php after line 85
  • Commit the changes to the branch and push to the fork
  • Check the Action

Actual result BEFORE applying this Pull Request

  1. No commit from the GH action
  2. PHPStan fails

Expected result AFTER applying this Pull Request

  1. Commit from GH with updated baseline file
  2. PHPStan fails and no baseline update

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar laoneo laoneo - open - 18 May 2026
avatar laoneo laoneo - change - 18 May 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 May 2026
Category Repository Libraries
avatar laoneo laoneo - change - 19 May 2026
Labels Added: PR-6.2-dev
avatar laoneo laoneo - change - 19 May 2026
The description was changed
avatar laoneo laoneo - edited - 19 May 2026
avatar laoneo laoneo - change - 19 May 2026
The description was changed
avatar laoneo laoneo - edited - 19 May 2026
avatar MacJoom MacJoom - change - 19 May 2026
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2026-05-19 17:02:23
Closed_By MacJoom
avatar MacJoom MacJoom - close - 19 May 2026
avatar MacJoom MacJoom - merge - 19 May 2026
avatar MacJoom
MacJoom - comment - 19 May 2026

Thank you!

Add a Comment

Login with GitHub to post a comment