Skip to content

Commit cbea881

Browse files
committed
Copy phpunit.xsd to a predictable path
1 parent f5e48bb commit cbea881

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/simple-phpunit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
7878
passthru(sprintf('\\' === DIRECTORY_SEPARATOR ? 'rmdir /S /Q %s': 'rm -rf %s', "phpunit-$PHPUNIT_VERSION.old"));
7979
}
8080
passthru("$COMPOSER create-project --no-install --prefer-dist --no-scripts --no-plugins --no-progress --ansi phpunit/phpunit phpunit-$PHPUNIT_VERSION \"$PHPUNIT_VERSION.*\"");
81+
@copy("phpunit-$PHPUNIT_VERSION/phpunit.xsd", 'phpunit.xsd');
8182
chdir("phpunit-$PHPUNIT_VERSION");
8283
if ($SYMFONY_PHPUNIT_REMOVE) {
8384
passthru("$COMPOSER remove --no-update ".$SYMFONY_PHPUNIT_REMOVE);

0 commit comments

Comments
 (0)