Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Add
phpunit 11.2.0
as conflict version due to regression
PHPUnit refactored the double creation to support doubling readonly classes [1], thus breaking classes where the class constructor is called with constructor arguments, but calling itself a class method which is mocked using the `onlyMethods()` setup option. This leads now to some internal state setup issue and is reported as `regression` [2] providing steps to reproduce it. This change adds `phpunit 11.2.0` as conflict to the monorepo version to avoid using it in nightly tests for now, until a proper regression fix has been implemented in phpunit. Used command(s): \ cat \ <<< $(jq --indent 1 --tab \ '."conflict" += {"phpunit/phpunit": "11.2.0"}' \ composer.json) > composer.json \ && Build/Scripts/runTests.sh -s composer -- update --lock [1] sebastianbergmann/phpunit#5804 [2] sebastianbergmann/phpunit#5857 Resolves: #104007 Releases: main Change-Id: Ia384ff98a9ea4e318738a48bd9ff8afcc4faff15 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84533 Reviewed-by: Anja Leichsenring <[email protected]> Reviewed-by: Simon Schaufelberger <[email protected]> Tested-by: Anja Leichsenring <[email protected]> Tested-by: core-ci <[email protected]> Reviewed-by: Stefan Bürk <[email protected]> Tested-by: Simon Schaufelberger <[email protected]> Tested-by: Stefan Bürk <[email protected]>
- Loading branch information