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 3bcc1dc commit 8a21eb6Copy full SHA for 8a21eb6
bin/simple-phpunit
@@ -70,6 +70,8 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
70
throw new \RuntimeException("Could not find $remoteZip");
71
}
72
stream_copy_to_stream($remoteZipStream, fopen("$PHPUNIT_VERSION.zip", 'wb'));
73
+ } elseif ('\\' === DIRECTORY_SEPARATOR) {
74
+ passthru("certutil -urlcache -split -f \"https://github.com/sebastianbergmann/phpunit/archive/$PHPUNIT_VERSION.zip\" $PHPUNIT_VERSION.zip");
75
} else {
76
@unlink("$PHPUNIT_VERSION.zip");
77
passthru("wget -q https://github.com/sebastianbergmann/phpunit/archive/$PHPUNIT_VERSION.zip");
0 commit comments