10000 [PhpUnitBridge] fix compat with older versions of composer · symfony/symfony@416f0ab · GitHub
[go: up one dir, main page]

Skip to content

Commit 416f0ab

Browse files
[PhpUnitBridge] fix compat with older versions of composer
1 parent d24df0d commit 416f0ab

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Bridge/PhpUnit/bin/simple-phpunit

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
9595
$passthruOrFail("$COMPOSER require --no-update phpunit/phpunit-mock-objects \"~3.1.0\"");
9696
}
9797

98-
if (PHP_VERSION_ID >= 70000) {
99-
$passthruOrFail("$COMPOSER config --unset platform");
100-
}
98+
$passthruOrFail("$COMPOSER config --unset platform.php");
10199
if (file_exists($path = $root.'/vendor/symfony/phpunit-bridge')) {
102100
$passthruOrFail("$COMPOSER require --no-update symfony/phpunit-bridge \"*@dev\"");
103101
$passthruOrFail("$COMPOSER config repositories.phpunit-bridge path ".escapeshellarg(str_replace('/', DIRECTORY_SEPARATOR, $path)));

0 commit comments

Comments
 (0)
0