File tree 1 file changed +2
-2
lines changed
src/Symfony/Bridge/PhpUnit/bin
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,9 +80,9 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
80
80
@mkdir ($ PHPUNIT_DIR , 0777 , true );
81
81
chdir ($ PHPUNIT_DIR );
82
82
if (file_exists ("phpunit- $ PHPUNIT_VERSION " )) {
83
- $ passthruOrFail (sprintf ('\\' === DIRECTORY_SEPARATOR ? 'rmdir /S /Q %s > NUL ' : 'rm -rf %s ' , "phpunit- $ PHPUNIT_VERSION .old " ));
83
+ passthru (sprintf ('\\' === DIRECTORY_SEPARATOR ? 'rmdir /S /Q %s > NUL ' : 'rm -rf %s ' , "phpunit- $ PHPUNIT_VERSION .old " ));
84
84
rename ("phpunit- $ PHPUNIT_VERSION " , "phpunit- $ PHPUNIT_VERSION .old " );
85
- $ passthruOrFail (sprintf ('\\' === DIRECTORY_SEPARATOR ? 'rmdir /S /Q %s ' : 'rm -rf %s ' , "phpunit- $ PHPUNIT_VERSION .old " ));
85
+ passthru (sprintf ('\\' === DIRECTORY_SEPARATOR ? 'rmdir /S /Q %s ' : 'rm -rf %s ' , "phpunit- $ PHPUNIT_VERSION .old " ));
86
86
}
87
87
$ passthruOrFail ("$ COMPOSER create-project --no-install --prefer-dist --no-scripts --no-plugins --no-progress --ansi phpunit/phpunit phpunit- $ PHPUNIT_VERSION \"$ PHPUNIT_VERSION .* \"" );
88
88
@copy ("phpunit- $ PHPUNIT_VERSION /phpunit.xsd " , 'phpunit.xsd ' );
You can’t perform that action at this time.
0 commit comments