mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-28 13:43:31 +00:00
[DeadCode] Register array_splice into impure functions on PureFunctionDetector (#2194)
This commit is contained in:
parent
4d7c087805
commit
b33f8a529d
|
@ -112,7 +112,7 @@ final class PureFunctionDetector
|
|||
'json_encode', 'json_decode', 'json_last_error',
|
||||
|
||||
// array
|
||||
'array_pop', 'array_push', 'array_shift', 'next', 'prev',
|
||||
'array_pop', 'array_push', 'array_shift', 'array_splice', 'next', 'prev',
|
||||
|
||||
// stream
|
||||
'stream_filter_append',
|
||||
|
|
Loading…
Reference in New Issue
Block a user