friends-of-phpspec / phpspec-code-coverage

Generate Code Coverage reports for PhpSpec tests
https://packagist.org/packages/friends-of-phpspec/phpspec-code-coverage
Other
20 stars 12 forks source link

CI: Add support for PHP8.2 #56

Closed shulard closed 1 year ago

jaylinski commented 1 year ago

Depends on PHP 8.2 support in php-cs-fixer: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues?q=is%3Aissue+is%3Aopen+8.2+label%3Atopic%2FPHP8.2.

shulard commented 1 year ago

Depends on PHP 8.2 support in php-cs-fixer: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues?q=is%3Aissue+is%3Aopen+8.2+label%3Atopic%2FPHP8.2.

Ok I've applied a tiny suggestion from the php-cs-fixer CLI. It tells to add PHP_CS_FIXER_IGNORE_ENV environment variable to bypass the compatibility warning. Since the PHP-CS-Fixer compat is only related to some of the sniffs, I thing it's pretty safe on our side since we have a small amount of code to manage…