aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_test
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2023-09-18 19:19:20 +0200
committerAndreas Gohr <andi@splitbrain.org>2023-09-18 19:19:20 +0200
commit2924990419da66a0f230ce7dbaf583f4fc8faf01 (patch)
treeaf041de2c121362afe8d8971cb75e0303c6214be /_test
parent2ab82b8ef8aba27fb6fd9fed95a7d4c66b3bab99 (diff)
downloaddokuwiki-2924990419da66a0f230ce7dbaf583f4fc8faf01.tar.gz
dokuwiki-2924990419da66a0f230ce7dbaf583f4fc8faf01.zip
remove obsolete fetchphpunit script
It's now installed via composer
Diffstat (limited to '_test')
-rwxr-xr-x_test/fetchphpunit.php33
1 files changed, 0 insertions, 33 deletions
diff --git a/_test/fetchphpunit.php b/_test/fetchphpunit.php
deleted file mode 100755
index de4cf5f79..000000000
--- a/_test/fetchphpunit.php
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env php
-<?php
-/**
- * Simple command line script to fetch the correct PHPUnit release
- */
-
-$phpVersion = PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION;
-print "Running PHP $phpVersion\n";
-
-
-if(version_compare($phpVersion, '7.4') < 0) {
- echo 'we no longer support PHP versions < 7.4 and thus do not support tests on them';
- exit(1);
-}
-
-// for now we default to phpunit-8
-$phpunit = 'phpunit-8.phar';
-
-
-$url = "https://phar.phpunit.de/$phpunit";
-$out = __DIR__ . '/phpunit.phar';
-
-$return = 0;
-try {
- file_put_contents($out, file_get_contents($url));
-} catch (Throwable $e) {
- fwrite(STDERR, $e->getMessage());
- exit(1);
-}
-
-chmod($out, 0755);
-print "Downloaded $phpunit\n";
-exit(0);