Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 4913362 + b938a7f commit 4652a60Copy full SHA for 4652a60
phpunit
@@ -3,9 +3,14 @@
3
4
error_reporting(-1);
5
6
-$PHPUNIT_VERSION = 4.8;
+$PHPUNIT_VERSION = '4.8';
7
$PHPUNIT_DIR = __DIR__.'/.phpunit';
8
9
+// PHPUnit 4.8 does not support PHP 7, while 5.0 requires PHP 5.6+
10
+if (PHP_VERSION_ID >= 70000) {
11
+ $PHPUNIT_DIR = '5.0';
12
+}
13
+
14
if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit")) {
15
// Build a standalone phpunit without symfony/yaml
16
0 commit comments