8000 Merge branch '3.4' into 4.3 · symfony/symfony@68b96fa · GitHub
[go: up one dir, main page]

Skip to content

Commit 68b96fa

Browse files
Merge branch '3.4' into 4.3
* 3.4: [PhpUnitBridge] fix compat with older versions of composer
2 parents 56877e7 + 416f0ab commit 68b96fa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,7 @@
134134
$passthruOrFail("$COMPOSER require --no-update phpunit/phpunit-mock-objects \"~3.1.0\"");
135135
}
136136

137-
if (PHP_VERSION_ID >= 70000) {
138-
$passthruOrFail("$COMPOSER config --unset platform");
139-
}
137+
$passthruOrFail("$COMPOSER config --unset platform.php");
140138
if (file_exists($path = $root.'/vendor/symfony/phpunit-bridge')) {
141139
$passthruOrFail("$COMPOSER require --no-update symfony/phpunit-bridge \"*@dev\"");
142140
$passthruOrFail("$COMPOSER config repositories.phpunit-bridge path ".escapeshellarg(str_replace('/', DIRECTORY_SEPARATOR, $path)));

0 commit comments

Comments
 (0)
0