Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code coverage is not compatible with PHPUnit 9.x #455

Open
Spuds opened this issue Feb 18, 2022 · 0 comments
Open

Code coverage is not compatible with PHPUnit 9.x #455

Spuds opened this issue Feb 18, 2022 · 0 comments

Comments

@Spuds
Copy link

Spuds commented Feb 18, 2022

Running code coverage with latest V9 phpunit-selenium and any 9.x version of PHPunit results in

PHP Fatal error:

Uncaught TypeError: Argument 1 passed to SebastianBergmann\CodeCoverage\CodeCoverage::append() must be an instance of SebastianBergmann\CodeCoverage\RawCodeCoverageData, array given, called in /vendor/phpunit/phpunit-selenium/PHPUnit/Extensions/Selenium2TestCase.php on line 368 and defined in vendor/phpunit/php-code-coverage/src/CodeCoverage.php:239

@Spuds Spuds changed the title Code coverage is not compatible with PPHUnit 9.x Code coverage is not compatible with PHPUnit 9.x Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant