mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-21 09:42:45 +01:00
Fixed inconsistent naming: PHP_7_3 to PHP_73 (#4849)
This commit is contained in:
parent
ff2ea86176
commit
e6ca54bdce
@ -32,6 +32,6 @@ final class CountOnNullRectorWithPHP73Test extends AbstractRectorTestCase
|
||||
|
||||
protected function getPhpVersion(): int
|
||||
{
|
||||
return PhpVersion::PHP_7_3;
|
||||
return PhpVersion::PHP_73;
|
||||
}
|
||||
}
|
||||
|
@ -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'],
|
||||
];
|
||||
|
||||
|
@ -52,7 +52,7 @@ final class PhpVersion
|
||||
* @api
|
||||
* @var int
|
||||
*/
|
||||
public const PHP_7_3 = 70300;
|
||||
public const PHP_73 = 70300;
|
||||
|
||||
/**
|
||||
* @api
|
||||
|
Loading…
x
Reference in New Issue
Block a user