Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a0f68aa

Browse files
committed
Fix symfony/phpunit-bridge not up to date in phpunit 4.8 test suite
1 parent 9f40b10 commit a0f68aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
8383
if (5.1 <= $PHPUNIT_VERSION && $PHPUNIT_VERSION < 5.4) {
8484
passthru("$COMPOSER require --no-update phpunit/phpunit-mock-objects \"~3.1.0\"");
8585
}
86+
87+
passthru("$COMPOSER config --unset platform");
8688
if (file_exists($path = $root.'/vendor/symfony/phpunit-bridge')) {
8789
passthru("$COMPOSER require --no-update symfony/phpunit-bridge \"*@dev\"");
8890
passthru("$COMPOSER config repositories.phpunit-bridge path ".escapeshellarg(str_replace('/', DIRECTORY_SEPARATOR, $path)));

0 commit comments

Comments
 (0)