8000
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 5632dc7 commit 5e7ea93Copy full SHA for 5e7ea93
src/Symfony/Bridge/PhpUnit/bin/simple-phpunit
@@ -15,14 +15,17 @@
15
16
error_reporting(-1);
17
18
-if (PHP_VERSION_ID >= 70200) {
19
- // PHPUnit 6 is required for PHP 7.2+
+if (PHP_VERSION_ID >= 70100) {
+ // PHPUnit 7 is required for PHP 7.1+
20
+ $PHPUNIT_VERSION = getenv('SYMFONY_PHPUNIT_VERSION') ?: '7.4';
21
+} elseif (PHP_VERSION_ID >= 70000) {
22
+ // PHPUnit 6 is required for PHP 7.0+
23
$PHPUNIT_VERSION = getenv('SYMFONY_PHPUNIT_VERSION') ?: '6.5';
24
} elseif (PHP_VERSION_ID >= 50600) {
- // PHPUnit 4 does not support PHP 7
25
+ // PHPUnit 5 does not support PHP 5.6+
26
$PHPUNIT_VERSION = getenv('SYMFONY_PHPUNIT_VERSION') ?: '5.7';
27
} else {
- // PHPUnit 5.1 requires PHP 5.6+
28
+ // PHPUnit 4.8 requires PHP 5.3.3+
29
$PHPUNIT_VERSION = '4.8';
30
}
31
0 commit comments