Check if file is renamed in fix-phpunit.php
[MAILPOET-3395]
This commit is contained in:
@@ -10,8 +10,10 @@ if (!file_exists(__DIR__ . '/../vendor/phpunit/phpunit/src/Framework/MockObject/
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Rename Match interface source file to Matcher
|
if (!file_exists(__DIR__ . '/../vendor/phpunit/phpunit/src/Framework/MockObject/Builder/MockMatch.php')) {
|
||||||
exec('mv ' . __DIR__ . '/../vendor/phpunit/phpunit/src/Framework/MockObject/Builder/Match.php ' . __DIR__ . '/../vendor/phpunit/phpunit/src/Framework/MockObject/Builder/MockMatch.php');
|
// Rename Match interface source file to Matcher
|
||||||
|
exec('mv ' . __DIR__ . '/../vendor/phpunit/phpunit/src/Framework/MockObject/Builder/Match.php ' . __DIR__ . '/../vendor/phpunit/phpunit/src/Framework/MockObject/Builder/MockMatch.php');
|
||||||
|
}
|
||||||
|
|
||||||
// Fixes for PHP8 Compatibility
|
// Fixes for PHP8 Compatibility
|
||||||
$replacements = [
|
$replacements = [
|
||||||
|
Reference in New Issue
Block a user