Codeception / c3

Remote CodeCoverage for Codeception. Part of Codeception testing framework.
http://codeception.com
71 stars 46 forks source link

C3 v2.6.0 Generates Error #63

Closed JRawly closed 4 years ago

JRawly commented 4 years ago

PHP Fatal error: Uncaught TypeError: Argument 1 passed to Codeception\c3\Installer::copyC3V2() must be an instance of Composer\Script\Event, null given, called in /vendor/codeception/c3/Installer.php on line 85 and defined in /vendor/codeception/c3/Installer.php:88

The Installer.php file has been updated to use copyC3V2 which defines copyC3V2(Event $event) but doesn't allow null, line 85 calls copyC3V2 with a null variable.

bthery commented 4 years ago

The nightly build for our application just fail because of the same issue here.

PHP7.1 / Composer 1.8.5 / Red Hat RHEL 7.8

romanmartushev commented 4 years ago

Having the same issue here.

Naktibalda commented 4 years ago

Fixed in 2.6.1