Skip to content

Commit

Permalink
Copy phpunit.xsd to a predictable path
Browse files Browse the repository at this point in the history
  • Loading branch information
julienfalque committed Sep 30, 2019
1 parent f5e48bb commit cbea881
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/simple-phpunit
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
passthru(sprintf('\\' === DIRECTORY_SEPARATOR ? 'rmdir /S /Q %s': 'rm -rf %s', "phpunit-$PHPUNIT_VERSION.old"));
}
passthru("$COMPOSER create-project --no-install --prefer-dist --no-scripts --no-plugins --no-progress --ansi phpunit/phpunit phpunit-$PHPUNIT_VERSION \"$PHPUNIT_VERSION.*\"");
@copy("phpunit-$PHPUNIT_VERSION/phpunit.xsd", 'phpunit.xsd');
chdir("phpunit-$PHPUNIT_VERSION");
if ($SYMFONY_PHPUNIT_REMOVE) {
passthru("$COMPOSER remove --no-update ".$SYMFONY_PHPUNIT_REMOVE);
Expand Down

0 comments on commit cbea881

Please sign in to comment.