mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Add validation for Class::Method names in CallMap
This commit is contained in:
parent
4a77f24869
commit
e57079f581
@ -3211,6 +3211,18 @@ return [
|
||||
'fgetcsv' => ['list<string>|array{0: null}|false|null', 'stream'=>'resource', 'length='=>'int', 'separator='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
|
||||
'fgets' => ['string|false', 'stream'=>'resource', 'length='=>'int'],
|
||||
'fgetss' => ['string|false', 'fp'=>'resource', 'length='=>'int', 'allowable_tags='=>'string'],
|
||||
'Fiber::__construct' => ['void', 'callback'=>'callable'],
|
||||
'Fiber::start' => ['mixed', '...args'=>'mixed'],
|
||||
'Fiber::resume' => ['mixed', 'value='=>'null|mixed'],
|
||||
'Fiber::throw' => ['mixed', 'exception'=>'Throwable'],
|
||||
'Fiber::isStarted' => ['bool'],
|
||||
'Fiber::isSuspended' => ['bool'],
|
||||
'Fiber::isRunning' => ['bool'],
|
||||
'Fiber::isTerminated' => ['bool'],
|
||||
'Fiber::getReturn' => ['mixed'],
|
||||
'Fiber::getCurrent' => ['?self'],
|
||||
'Fiber::suspend' => ['mixed', 'value='=>'null|mixed'],
|
||||
'FiberError::__construct' => ['void'],
|
||||
'file' => ['list<string>|false', 'filename'=>'string', 'flags='=>'int', 'context='=>'resource'],
|
||||
'file_exists' => ['bool', 'filename'=>'string'],
|
||||
'file_get_contents' => ['string|false', 'filename'=>'string', 'use_include_path='=>'bool', 'context='=>'?resource', 'offset='=>'int', 'length='=>'int'],
|
||||
@ -3361,18 +3373,6 @@ return [
|
||||
'func_num_args' => ['int'],
|
||||
'function_exists' => ['bool', 'function'=>'string'],
|
||||
'fwrite' => ['int|false', 'stream'=>'resource', 'data'=>'string', 'length='=>'int'],
|
||||
'Fiber::__construct' => ['void', 'callback'=>'callable'],
|
||||
'Fiber::start' => ['mixed', '...args'=>'mixed'],
|
||||
'Fiber::resume' => ['mixed', 'value='=>'null|mixed'],
|
||||
'Fiber::throw' => ['mixed', 'exception'=>'Throwable'],
|
||||
'Fiber::isStarted' => ['bool'],
|
||||
'Fiber::isSuspended' => ['bool'],
|
||||
'Fiber::isRunning' => ['bool'],
|
||||
'Fiber::isTerminated' => ['bool'],
|
||||
'Fiber::getReturn' => ['mixed'],
|
||||
'Fiber::getCurrent' => ['?self'],
|
||||
'Fiber::suspend' => ['mixed', 'value='=>'null|mixed'],
|
||||
'FiberError::__construct' => ['void'],
|
||||
'gc_collect_cycles' => ['int'],
|
||||
'gc_disable' => ['void'],
|
||||
'gc_enable' => ['void'],
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user