We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df2008f commit 4ec4a23Copy full SHA for 4ec4a23
bin/simple-phpunit
@@ -95,7 +95,9 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
95
$passthruOrFail("$COMPOSER require --no-update phpunit/phpunit-mock-objects \"~3.1.0\"");
96
}
97
98
- $passthruOrFail("$COMPOSER config --unset platform");
+ if (PHP_VERSION_ID >= 70000) {
99
+ $passthruOrFail("$COMPOSER config --unset platform");
100
+ }
101
if (file_exists($path = $root.'/vendor/symfony/phpunit-bridge')) {
102
$passthruOrFail("$COMPOSER require --no-update symfony/phpunit-bridge \"*@dev\"");
103
$passthruOrFail("$COMPOSER config repositories.phpunit-bridge path ".escapeshellarg(str_replace('/', DIRECTORY_SEPARATOR, $path)));
0 commit comments