PHP-CS-Fixer / PHP-CS-Fixer

A tool to automatically fix PHP Coding Standards issues
https://cs.symfony.com
MIT License
12.67k stars 1.57k forks source link

fix: Update `PhpUnitTestCaseStaticMethodCallsFixer::STATIC_METHODS` #8073

Closed Wirone closed 2 weeks ago

Wirone commented 2 weeks ago

PHPUnit 11.2 introduced new assert method, and it causes failures on our side.

Additionally, when running test in IDE there is possibility to see the difference between expected and actual value, but in CI the error message looks incomplete (maybe ParaUnit issue). That's why I added list of missing methods to assert's error message, so it's explicitly printed in the CI output.

coveralls commented 2 weeks ago

Coverage Status

coverage: 95.64%. remained the same when pulling b1e7c011ecfa28f2d694862e2e75607acbe9ab7b on Wirone:codito/fix-phpunit-methods-list into c92ca19a1a1fa435f80eccdaca130a2f1b974c74 on PHP-CS-Fixer:master.