[DeadCode] Register array_splice into impure functions on PureFunctionDetector (#2194)

This commit is contained in:
Abdul Malik Ikhsan 2022-04-29 13:42:59 +07:00 committed by GitHub
parent 4d7c087805
commit b33f8a529d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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