diff --git a/rules/php71/tests/Rector/FuncCall/CountOnNullRector/CountOnNullRectorWithPHP73Test.php b/rules/php71/tests/Rector/FuncCall/CountOnNullRector/CountOnNullRectorWithPHP73Test.php index 1f7d5268f86..e939e13fc3c 100644 --- a/rules/php71/tests/Rector/FuncCall/CountOnNullRector/CountOnNullRectorWithPHP73Test.php +++ b/rules/php71/tests/Rector/FuncCall/CountOnNullRector/CountOnNullRectorWithPHP73Test.php @@ -32,6 +32,6 @@ final class CountOnNullRectorWithPHP73Test extends AbstractRectorTestCase protected function getPhpVersion(): int { - return PhpVersion::PHP_7_3; + return PhpVersion::PHP_73; } } diff --git a/rules/polyfill/src/FeatureSupport/FunctionSupportResolver.php b/rules/polyfill/src/FeatureSupport/FunctionSupportResolver.php index 1392ffb4c54..4bfef6b9314 100644 --- a/rules/polyfill/src/FeatureSupport/FunctionSupportResolver.php +++ b/rules/polyfill/src/FeatureSupport/FunctionSupportResolver.php @@ -23,7 +23,7 @@ final class FunctionSupportResolver ], PhpVersion::PHP_71 => ['is_iterable'], PhpVersion::PHP_72 => ['spl_object_id', 'stream_isatty'], - PhpVersion::PHP_7_3 => ['array_key_first', 'array_key_last', 'hrtime', 'is_countable'], + PhpVersion::PHP_73 => ['array_key_first', 'array_key_last', 'hrtime', 'is_countable'], PhpVersion::PHP_74 => ['get_mangled_object_vars', 'mb_str_split', 'password_algos'], ]; diff --git a/src/ValueObject/PhpVersion.php b/src/ValueObject/PhpVersion.php index 4e611874b8c..354bbaef430 100644 --- a/src/ValueObject/PhpVersion.php +++ b/src/ValueObject/PhpVersion.php @@ -52,7 +52,7 @@ final class PhpVersion * @api * @var int */ - public const PHP_7_3 = 70300; + public const PHP_73 = 70300; /** * @api