mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
is_file
and is_dir
should be impure (#4676)
* `is_file` and `is_dir` should be impure * newline Co-authored-by: Matthew Brown <github@muglug.com>
This commit is contained in:
parent
d6e4d0d526
commit
0ea09762b5
@ -287,6 +287,7 @@ class Functions
|
|||||||
'ftruncate', 'fprintf', 'symlink', 'mkdir', 'unlink', 'rename', 'rmdir', 'popen', 'pclose',
|
'ftruncate', 'fprintf', 'symlink', 'mkdir', 'unlink', 'rename', 'rmdir', 'popen', 'pclose',
|
||||||
'fgetcsv', 'fputcsv', 'umask', 'finfo_close', 'readline_add_history', 'stream_set_timeout',
|
'fgetcsv', 'fputcsv', 'umask', 'finfo_close', 'readline_add_history', 'stream_set_timeout',
|
||||||
'fgets', 'fflush', 'move_uploaded_file', 'file_exists', 'realpath', 'glob', 'is_readable',
|
'fgets', 'fflush', 'move_uploaded_file', 'file_exists', 'realpath', 'glob', 'is_readable',
|
||||||
|
'is_dir', 'is_file',
|
||||||
|
|
||||||
// stream/socket io
|
// stream/socket io
|
||||||
'stream_context_set_option', 'socket_write', 'stream_set_blocking', 'socket_close',
|
'stream_context_set_option', 'socket_write', 'stream_set_blocking', 'socket_close',
|
||||||
|
Loading…
Reference in New Issue
Block a user