= 70400 && $versionData[0] == 5) { $vendorGeneratorPath = __DIR__ . '/../vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php'; $patchGeneratorPath = __DIR__ . '/bootstrap/PHPUnit_Framework_MockObject_Generator_7.4.php'; file_put_contents($vendorGeneratorPath, file_get_contents($patchGeneratorPath)); }