Fixed inconsistent naming: PHP_7_3 to PHP_73 (#4849)

This commit is contained in:
Leonardo Losoviz 2020-12-11 17:04:50 +08:00 committed by GitHub
parent ff2ea86176
commit e6ca54bdce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -32,6 +32,6 @@ final class CountOnNullRectorWithPHP73Test extends AbstractRectorTestCase
protected function getPhpVersion(): int
{
return PhpVersion::PHP_7_3;
return PhpVersion::PHP_73;
}
}

View File

@ -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'],
];

View File

@ -52,7 +52,7 @@ final class PhpVersion
* @api
* @var int
*/
public const PHP_7_3 = 70300;
public const PHP_73 = 70300;
/**
* @api