We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c117424 commit 2155067Copy full SHA for 2155067
bin/simple-phpunit
@@ -60,6 +60,9 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
60
61
@mkdir($PHPUNIT_DIR, 0777, true);
62
chdir($PHPUNIT_DIR);
63
+ if (file_exists("phpunit-$PHPUNIT_VERSION")) {
64
+ passthru(sprintf('\\' === DIRECTORY_SEPARATOR ? '(del /S /F /Q %s & rmdir %1$s) >nul': 'rm -rf %s', "phpunit-$PHPUNIT_VERSION"));
65
+ }
66
passthru("$COMPOSER create-project --no-install --prefer-dist --no-scripts --no-plugins --no-progress --ansi phpunit/phpunit phpunit-$PHPUNIT_VERSION \"$PHPUNIT_VERSION.*\"");
67
chdir("phpunit-$PHPUNIT_VERSION");
68
if ($SYMFONY_PHPUNIT_REMOVE) {
0 commit comments