You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* file that was distributed with this source code.
17
24
*/
18
25
if (version_compare('7.1.0', PHP_VERSION, '>')) {
19
-
fwrite(STDERR,
20
-
sprintf('This version of PHPUnit is supported on PHP 7.1 and PHP 7.2.' . PHP_EOL . 'You are using PHP %s (%s).' . PHP_EOL,
21
-
PHP_VERSION, PHP_BINARY));
26
+
fwrite(
27
+
STDERR,
28
+
sprintf(
29
+
'This version of PHPUnit is supported on PHP 7.1 and PHP 7.2.' . PHP_EOL . 'You are using PHP %s (%s).' . PHP_EOL,
30
+
PHP_VERSION,
31
+
PHP_BINARY
32
+
)
33
+
);
22
34
die(1);
23
35
}
24
36
if (!ini_get('date.timezone')) {
@@ -36,8 +48,10 @@
36
48
}
37
49
unset($file);
38
50
if (!defined('PHPUNIT_COMPOSER_INSTALL')) {
39
-
fwrite(STDERR,
40
-
'You need to set up the project dependencies using Composer:' . PHP_EOL . PHP_EOL . ' composer install' . PHP_EOL . PHP_EOL . 'You can learn all about Composer on https://getcomposer.org/.' . PHP_EOL);
51
+
fwrite(
52
+
STDERR,
53
+
'You need to set up the project dependencies using Composer:' . PHP_EOL . PHP_EOL . ' composer install' . PHP_EOL . PHP_EOL . 'You can learn all about Composer on https://getcomposer.org/.' . PHP_EOL
54
+
);
41
55
die(1);
42
56
} else {
43
57
if (array_reverse(explode('/', __DIR__))[0] ?? '' === 'tests') {
0 commit comments