Codeception: Class 'PHP_CodeCoverage' not found in ... \Codeception\Coverage\Subscriber\Printer, unable to create code coverage

Created on 3 Jun 2016  路  3Comments  路  Source: Codeception/Codeception

In version 2.2.0, you attempt to instantiate a new instance of PHP_CodeCoverage. However, this class does not appear to exist in the required version of "phpunit/php-code-coverage".

Think he renamed the class to \SebastianBergmann\CodeCoverage\CodeCoverage.
Furthermore, all other PHP Unit related to coverage have also changed

Most helpful comment

Fixed in 2.2.1. Please update

All 3 comments

Yes, PHPUnit 5.4 released today and this was unpredictable break :(
Fixing it now

Fixed in 2.2.1. Please update

Hi again - thanks for fix, I appreciate it a lot :)

Was this page helpful?
0 / 5 - 0 ratings