mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Merge pull request #10244 from tuqqu/socket-shutdown-fix
Add stream_socket_shutdown socket_shutdown to impure function list
This commit is contained in:
commit
8d35034b77
@ -67,6 +67,8 @@ return [
|
||||
'socket_set_block' => true,
|
||||
'socket_set_nonblock' => true,
|
||||
'socket_listen' => true,
|
||||
'stream_socket_shutdown' => true,
|
||||
'socket_shutdown' => true,
|
||||
// meta calls
|
||||
'call_user_func' => true,
|
||||
'call_user_func_array' => true,
|
||||
@ -93,7 +95,6 @@ return [
|
||||
'mcrypt_generic_deinit' => true,
|
||||
'mcrypt_module_close' => true,
|
||||
// internal optimisation
|
||||
'opcache_compile_file' => true,
|
||||
'clearstatcache' => true,
|
||||
// process-related
|
||||
'pcntl_signal' => true,
|
||||
|
Loading…
Reference in New Issue
Block a user