Pending

User tests: Successful: Unsuccessful:

avatar heelc29
heelc29
26 Jul 2026

Pull Request resolves # .

  • 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

update composer dev dependency phpunit/phpunit to version 12.5

some necessary changes for migration

  • replace withConsecutive
  • replace setMethods
  • make data provider static
  • make data provider public
  • convert metadata doc-comment to attribute
  • replace getMockForAbstractClass
  • replace deprecate TestCase methods
  • remove wrong dataprovider
  • convert mock to stub if no expectations were configured

test optimization

  • update assert calls
  • remove redundant constraints
  • use testhelper from joomla/test for php reflection

Testing Instructions

run ./libraries/vendor/bin/phpunit --testsuite Unit for unit tests
run ./libraries/vendor/bin/phpunit --testsuite Integration for integration tests

Actual result BEFORE applying this Pull Request

tests will be executed with PHPUnit 9.6.34

Expected result AFTER applying this Pull Request

tests will be executed with PHPUnit 12.5.32

Link to documentations

Please select:

  • No documentation changes for guide.joomla.org needed
  • No documentation changes for manual.joomla.org needed
avatar heelc29 heelc29 - open - 26 Jul 2026
avatar heelc29 heelc29 - change - 26 Jul 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Jul 2026
Category External Library Composer Change Unit Tests

Add a Comment

Login with GitHub to post a comment