Closed s2b closed 2 months ago
phpunit 11 deprecates annotations like @test and @dataProvider in favor of their attribute counterparts.
@test
@dataProvider
Based on the migration in TYPO3 core, the following rector workflow has been used:
composer req --dev rector/rector wget https://forge.typo3.org/attachments/download/38273/rector.php find tests/ -name *Test.php | xargs vendor/bin/rector process rm rector.php composer rem --dev rector/rector
Associated TYPO3 patch: https://github.com/TYPO3/typo3/commit/5043d3cb4d6e3069dd1a5cd4c25c9802dad855fd
phpunit 11 deprecates annotations like
@test
and@dataProvider
in favor of their attribute counterparts.Based on the migration in TYPO3 core, the following rector workflow has been used:
Associated TYPO3 patch: https://github.com/TYPO3/typo3/commit/5043d3cb4d6e3069dd1a5cd4c25c9802dad855fd