TYPO3 / Fluid

Fluid template rendering engine - Standalone version
GNU Lesser General Public License v3.0
151 stars 93 forks source link

[TASK] Migrate to phpunit attributes #879

Closed s2b closed 2 months ago

s2b commented 2 months ago

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:

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