Skip to content

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

@Spuds

Description

@Spuds

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions