mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Add more impure functions (#3814)
This commit is contained in:
parent
fcd2ac3078
commit
f17a4911d5
@ -299,7 +299,8 @@ class Functions
|
||||
) : bool {
|
||||
$impure_functions = [
|
||||
// file io
|
||||
'chdir', 'chgrp', 'chmod', 'chown', 'chroot', 'closedir', 'copy', 'file_put_contents',
|
||||
'chdir', 'chgrp', 'chmod', 'chown', 'chroot', 'copy', 'file_put_contents',
|
||||
'opendir', 'readdir', 'closedir', 'rewinddir', 'scandir',
|
||||
'fopen', 'fread', 'fwrite', 'fclose', 'touch', 'fpassthru', 'fputs', 'fscanf', 'fseek',
|
||||
'ftruncate', 'fprintf', 'symlink', 'mkdir', 'unlink', 'rename', 'rmdir', 'popen', 'pclose',
|
||||
'fgetcsv', 'fputcsv', 'umask', 'finfo_close', 'readline_add_history', 'stream_set_timeout',
|
||||
|
Loading…
x
Reference in New Issue
Block a user