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 703a84c commit 0caeeffCopy full SHA for 0caeeff
src/Symfony/Bridge/PhpUnit/bin/simple-phpunit
@@ -41,7 +41,7 @@ $COMPOSER = file_exists($COMPOSER = $oldPwd.'/composer.phar') || ($COMPOSER = rt
41
if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__FILE__)."\n".getenv('SYMFONY_PHPUNIT_REMOVE') !== @file_get_contents("$PHPUNIT_DIR/.$PHPUNIT_VERSION.md5")) {
42
// Build a standalone phpunit without symfony/yaml nor prophecy by default
43
44
- @mkdir($PHPUNIT_DIR);
+ @mkdir($PHPUNIT_DIR, 0777, true);
45
chdir($PHPUNIT_DIR);
46
if (file_exists("phpunit-$PHPUNIT_VERSION")) {
47
passthru(sprintf('\\' === DIRECTORY_SEPARATOR ? '(del /S /F /Q %s & rmdir %1$s) >nul': 'rm -rf %s', "phpunit-$PHPUNIT_VERSION"));
0 commit comments