mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix #4674 - is_readable should be impure
This commit is contained in:
parent
371647bdf0
commit
d6e4d0d526
@ -286,7 +286,7 @@ class Functions
|
||||
'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',
|
||||
'fgets', 'fflush', 'move_uploaded_file', 'file_exists', 'realpath', 'glob',
|
||||
'fgets', 'fflush', 'move_uploaded_file', 'file_exists', 'realpath', 'glob', 'is_readable',
|
||||
|
||||
// stream/socket io
|
||||
'stream_context_set_option', 'socket_write', 'stream_set_blocking', 'socket_close',
|
||||
|
@ -78,11 +78,6 @@ class FunctionLikeParameter
|
||||
*/
|
||||
public $sinks;
|
||||
|
||||
/**
|
||||
* @var array<Type\Union>|null
|
||||
*/
|
||||
public $conditional_sinks;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user