Skip to content

Commit 49230ea

Browse files
alexander-schranznicolas-grekas
authored andcommitted
Add no-interaction for SYMFONY_PHPUNIT_REQUIRE on prophecy
1 parent 2721b2d commit 49230ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/simple-phpunit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,10 @@
225225
@copy("$PHPUNIT_VERSION_DIR/phpunit.xsd", 'phpunit.xsd');
226226
chdir("$PHPUNIT_VERSION_DIR");
227227
if ($SYMFONY_PHPUNIT_REMOVE) {
228-
$passthruOrFail("$COMPOSER remove --no-update ".$SYMFONY_PHPUNIT_REMOVE);
228+
$passthruOrFail("$COMPOSER remove --no-update --no-interaction ".$SYMFONY_PHPUNIT_REMOVE);
229229
}
230230
if ($SYMFONY_PHPUNIT_REQUIRE) {
231-
$passthruOrFail("$COMPOSER require --no-update ".$SYMFONY_PHPUNIT_REQUIRE);
231+
$passthruOrFail("$COMPOSER require --no-update --no-interaction ".$SYMFONY_PHPUNIT_REQUIRE);
232232
}
233233
if (5.1 <= $PHPUNIT_VERSION && $PHPUNIT_VERSION < 5.4) {
234234
$passthruOrFail("$COMPOSER require --no-update phpunit/phpunit-mock-objects \"~3.1.0\"");

0 commit comments

Comments
 (0)