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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy