8000 [PhpUnitBridge] Set COMPOSER_ROOT_VERSION while installing · symfony/symfony@7ce51e0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ce51e0

Browse files
[PhpUnitBridge] Set COMPOSER_ROOT_VERSION while installing
1 parent 8c2a67f commit 7ce51e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
4848
$zip->extractTo(getcwd());
4949
$zip->close();
5050
chdir("phpunit-$PHPUNIT_VERSION");
51+
putenv("COMPOSER_ROOT_VERSION=$PHPUNIT_VERSION");
5152
passthru("$COMPOSER remove --no-update ".(getenv('SYMFONY_PHPUNIT_REMOVE') ?: 'phpspec/prophecy symfony/yaml'));
5253
if (5.1 <= $PHPUNIT_VERSION && $PHPUNIT_VERSION < 5.4) {
5354
passthru("$COMPOSER require --no-update phpunit/phpunit-mock-objects \"~3.1.0\"");

0 commit comments

Comments
 (0)
0