Skip to content

Commit 121e0a6

Browse files
committed
Enable execution under PHP 7.4
1 parent cb3c87a commit 121e0a6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

php-cs-fixer

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ if (defined('HHVM_VERSION_ID')) {
2727
} else {
2828
exit(1);
2929
}
30-
} elseif (!defined('PHP_VERSION_ID') || \PHP_VERSION_ID < 50600 || \PHP_VERSION_ID >= 70400) {
31-
fwrite(STDERR, "PHP needs to be a minimum version of PHP 5.6.0 and maximum version of PHP 7.3.*.\n");
30+
} elseif (!defined('PHP_VERSION_ID') || \PHP_VERSION_ID < 50600 || \PHP_VERSION_ID >= 70500) {
31+
fwrite(STDERR, "PHP needs to be a minimum version of PHP 5.6.0 and maximum version of PHP 7.4.*.\n");
3232

3333
if (getenv('PHP_CS_FIXER_IGNORE_ENV')) {
3434
fwrite(STDERR, "Ignoring environment requirements because `PHP_CS_FIXER_IGNORE_ENV` is set. Execution may be unstable.\n");

tests/Fixtures/Integration/misc/PHP7.test renamed to tests/Fixtures/Integration/misc/PHP7_0.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
PHP 7 test.
2+
PHP 7.0 test.
33
--RULESET--
44
{
55
"@Symfony": true,

tests/Smoke/CiIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function testIntegration(
139139
$steps[4],
140140
]);
141141

142-
$optionalIncompatibilityWarning = 'PHP needs to be a minimum version of PHP 5.6.0 and maximum version of PHP 7.3.*.
142+
$optionalIncompatibilityWarning = 'PHP needs to be a minimum version of PHP 5.6.0 and maximum version of PHP 7.4.*.
143143
Ignoring environment requirements because `PHP_CS_FIXER_IGNORE_ENV` is set. Execution may be unstable.
144144
';
145145

0 commit comments

Comments
 (0)