1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Fix #4674 - is_readable should be impure

This commit is contained in:
Matt Brown 2020-11-23 08:54:11 -05:00 committed by Daniil Gentili
parent 371647bdf0
commit d6e4d0d526
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 1 additions and 6 deletions

View File

@ -286,7 +286,7 @@ class Functions
'fopen', 'fread', 'fwrite', 'fclose', 'touch', 'fpassthru', 'fputs', 'fscanf', 'fseek', 'fopen', 'fread', 'fwrite', 'fclose', 'touch', 'fpassthru', 'fputs', 'fscanf', 'fseek',
'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', 'fgets', 'fflush', 'move_uploaded_file', 'file_exists', 'realpath', 'glob', 'is_readable',
// 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',

View File

@ -78,11 +78,6 @@ class FunctionLikeParameter
*/ */
public $sinks; public $sinks;
/**
* @var array<Type\Union>|null
*/
public $conditional_sinks;
/** /**
* @var bool * @var bool
*/ */