Hi,
we currently require "phpunit/phpunit": "~9.1" in Flow and "phpunit/phpunit": "^9.6", in Neos, resulting in version 9.6.x being used in both cases. While PHPUnit always promotes a relaxed approach to updates (“No, you do not need to update to the latest version all the time”), this is a problem by now, since:
- PHPUnit 9.6 had it’s EOL on February 1, 2019
- any PHPUnit below 11 is by now out of bugfixes
Even though any version above PHPUnit 7 is still not EOL, we run the risk of running into deprecations and errors with newer PHP versions.
What is the plan?
- Make our unit & functional tests work with PHPUnit 11
- Cover everything in the development distributions of Flow and Neos
- Work based on Flow & Neos 8.4 (the “later” LTS versions), upmerge to
mainin the end - Provide documentation for Flow & Neos users with hints on adjusting their own tests
Q: Why PHPUnit 11 and Flow/Neos 8.4?
A: Because that is the only combination where the minimum PHP version matches.
Who will work on this?
- @kdambekalns
- anyone who wants to join in
What do we need?
I’d like to apply for a funding of 4.000 €.
Q: Why that amount?
A: Based on my (@kdambekalns) gut feeling, after having done some PHPUnit updates that were similar.
- Yes
- No