Closed dqualmann closed 11 months ago
Found those in my logs as well:
PHP Deprecated: Creation of dynamic property SebastianBergmann\CodeCoverage\StaticAnalysis\CachingFileAnalyser::$ignoreDeprecatedCode is deprecated
PHP Deprecated: Creation of dynamic property SebastianBergmann\CodeCoverage\StaticAnalysis\CachingFileAnalyser::$useAnnotationsForIgnoringCode is deprecated
PHP Deprecated: Creation of dynamic property SebastianBergmann\CodeCoverage\CodeCoverage::$cachedReport is deprecated
I just released phpcov 9.0.1 with no functional changes, only an updated PHAR with updated dependencies. Hope that helps. Unfortunately, I do not have time right now to properly work on PHPCOV as much as I would like.
Thank you @sebastianbergmann, the deprecation notices are gone now (phpcov 9.0.2). :+1:
phpcov.phar 9.0.0 by phive comes with phpunit 10.0.7. If i use .cov files generated by phpunit 10.2,
phpcov merge
outputs:PHP Deprecated: Creation of dynamic property SebastianBergmann\CodeCoverage\CodeCoverage::$linesToBeIgnored is deprecated in xy.cov on line 2
.The merged xml file looks like:
It is possible to get a phpcov.phar version with phpunit 10.2?
I known, phpcov by composer uses the same phpunit version which is defined in composer.json and it works. But i hope to use phpcov.phar.
Info: php-code-coverage version in phpcov.phar 9.0 is 10.0.0, phpunit 10.2 uses php-code-coverage version 10.1.2