1
0
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:
Markus Staab 2020-11-23 15:53:39 +01:00 committed by Daniil Gentili
parent d6e4d0d526
commit 0ea09762b5
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

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