mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
mark file_get_contents as impurce (#4679)
This commit is contained in:
parent
0ea09762b5
commit
f4b9c75625
@ -281,7 +281,7 @@ class Functions
|
||||
) : bool {
|
||||
$impure_functions = [
|
||||
// file io
|
||||
'chdir', 'chgrp', 'chmod', 'chown', 'chroot', 'copy', 'file_put_contents',
|
||||
'chdir', 'chgrp', 'chmod', 'chown', 'chroot', 'copy', 'file_get_contents', '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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user