rectorphp / rector-phpunit

Rector upgrade rules for PHPUnit
https://getrector.com/find-rule?activeRectorSetGroup=phpunit
MIT License
64 stars 47 forks source link

[PHPUnit 10] Handle DataProvider attribute not included on use PHPUnitSetList::PHPUNIT_100 #300

Closed samsonasik closed 9 months ago

samsonasik commented 9 months ago

Fixes https://github.com/rectorphp/rector/issues/8360

samsonasik commented 9 months ago

@rpkamp the issue is due to the class not extending \PHPUnit\Framework\TestCase, change to extends it solve it, tested with this PR.

@TomasVotruba I am merging it as future proven for test.

TomasVotruba commented 9 months ago

Thank you :+1: