mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-25 04:03:55 +01:00
Added list functions supported by the symfony/polyfill* components
This commit is contained in:
parent
dd8d0322db
commit
564d05e381
@ -12,8 +12,12 @@ final class FunctionSupportResolver
|
||||
* @var string[][]
|
||||
*/
|
||||
private const FUNCTIONS_BY_VERSION = [
|
||||
'5.6' => ['session_abort'],
|
||||
'7.0' => ['random_int', 'random_bytes'],
|
||||
'5.6' => ['session_abort', 'hash_equals', 'ldap_escape'],
|
||||
'7.0' => ['random_int', 'random_bytes', 'intdiv', 'preg_replace_callback_array', 'error_clear_last'],
|
||||
'7.1' => ['is_iterable'],
|
||||
'7.2' => ['spl_object_id', 'stream_isatty'],
|
||||
'7.3' => ['array_key_first', 'array_key_last', 'hrtime', 'is_countable'],
|
||||
'7.4' => ['get_mangled_object_vars', 'mb_str_split', 'password_algos']
|
||||
];
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user