mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
update proc_open() types for PHP 7.4 (#3333)
as of PHP 7.4, proc_open() accepts an array for its first argument. https://www.php.net/manual/en/function.proc-open.php#refsect1-function.proc-open-parameters
This commit is contained in:
parent
48da7a4be8
commit
fa601f97d7
@ -10152,7 +10152,7 @@ return [
|
|||||||
'proc_close' => ['int', 'process'=>'resource'],
|
'proc_close' => ['int', 'process'=>'resource'],
|
||||||
'proc_get_status' => ['array|false', 'process'=>'resource'],
|
'proc_get_status' => ['array|false', 'process'=>'resource'],
|
||||||
'proc_nice' => ['bool', 'priority'=>'int'],
|
'proc_nice' => ['bool', 'priority'=>'int'],
|
||||||
'proc_open' => ['resource|false', 'command'=>'string', 'descriptorspec'=>'array', '&w_pipes'=>'resource[]', 'cwd='=>'?string', 'env='=>'?array', 'other_options='=>'array'],
|
'proc_open' => ['resource|false', 'command'=>'string|array', 'descriptorspec'=>'array', '&w_pipes'=>'resource[]', 'cwd='=>'?string', 'env='=>'?array', 'other_options='=>'array'],
|
||||||
'proc_terminate' => ['bool', 'process'=>'resource', 'signal='=>'int'],
|
'proc_terminate' => ['bool', 'process'=>'resource', 'signal='=>'int'],
|
||||||
'projectionObj::__construct' => ['void', 'projectionString'=>'string'],
|
'projectionObj::__construct' => ['void', 'projectionString'=>'string'],
|
||||||
'projectionObj::getUnits' => ['int'],
|
'projectionObj::getUnits' => ['int'],
|
||||||
|
@ -17,10 +17,12 @@ return [
|
|||||||
'new' => [
|
'new' => [
|
||||||
'password_hash' => ['string|null', 'password'=>'string', 'algo'=>'int|string|null', 'options='=>'array'],
|
'password_hash' => ['string|null', 'password'=>'string', 'algo'=>'int|string|null', 'options='=>'array'],
|
||||||
'password_needs_rehash' => ['bool', 'hash'=>'string', 'algo'=>'int|string|null', 'options='=>'array'],
|
'password_needs_rehash' => ['bool', 'hash'=>'string', 'algo'=>'int|string|null', 'options='=>'array'],
|
||||||
|
'proc_open' => ['resource|false', 'command'=>'string|array', 'descriptorspec'=>'array', '&w_pipes'=>'resource[]', 'cwd='=>'?string', 'env='=>'?array', 'other_options='=>'array'],
|
||||||
'ReflectionProperty::getType' => ['?ReflectionType'],
|
'ReflectionProperty::getType' => ['?ReflectionType'],
|
||||||
],
|
],
|
||||||
'old' => [
|
'old' => [
|
||||||
'password_hash' => ['string|false', 'password'=>'string', 'algo'=>'int', 'options='=>'array'],
|
'password_hash' => ['string|false', 'password'=>'string', 'algo'=>'int', 'options='=>'array'],
|
||||||
'password_needs_rehash' => ['bool', 'hash'=>'string', 'algo'=>'int', 'options='=>'array'],
|
'password_needs_rehash' => ['bool', 'hash'=>'string', 'algo'=>'int', 'options='=>'array'],
|
||||||
|
'proc_open' => ['resource|false', 'command'=>'string', 'descriptorspec'=>'array', '&w_pipes'=>'resource[]', 'cwd='=>'?string', 'env='=>'?array', 'other_options='=>'array'],
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user