> [!NOTE] > This is not an issue but a guide to solve the reflection error in the FLOW Testing context > > Attribute class `"PHPUnit\Framework\Attributes\Test"` not found Neos and Flow 8.4, 9.0, 9.1 were upgraded to use PHPUnit 11 (and upcoming releases will too) See discuss https://discuss.neos.io/t/funding-request-upgrade-to-phpunit-11-in-flow-neos/7141/14 PRs: https://github.com/neos/flow-development-collection/pull/3563 https://github.com/neos/neos-development-collection/pull/5950 Slack Discussions https://neos-project.slack.com/archives/C04PYL8H3/p1787117953729039 https://neos-project.slack.com/archives/C050C8FEK/p1787899168805249 ### Update PHPUnit To fix the above error you should update PHPUnit in your site-root distribution ```json "mikey179/vfsstream": "^1.6.12", "phpunit/phpunit": "~11.5", ```
Note
This is not an issue but a guide to solve the reflection error in the FLOW Testing context
Neos and Flow 8.4, 9.0, 9.1 were upgraded to use PHPUnit 11 (and upcoming releases will too)
See discuss https://discuss.neos.io/t/funding-request-upgrade-to-phpunit-11-in-flow-neos/7141/14
PRs:
neos/flow-development-collection#3563
#5950
Slack Discussions
https://neos-project.slack.com/archives/C04PYL8H3/p1787117953729039
https://neos-project.slack.com/archives/C050C8FEK/p1787899168805249
Update PHPUnit
To fix the above error you should update PHPUnit in your site-root distribution