mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
strip_tags: allow nullable allowed_tags
arguments from PHP80
This commit is contained in:
parent
8dd76ded86
commit
d33c338072
@ -13907,7 +13907,7 @@ return [
|
||||
'streamWrapper::unlink' => ['bool', 'path'=>'string'],
|
||||
'streamWrapper::url_stat' => ['array', 'path'=>'string', 'flags'=>'int'],
|
||||
'strftime' => ['string|false', 'format'=>'string', 'timestamp='=>'?int'],
|
||||
'strip_tags' => ['string', 'string'=>'string', 'allowed_tags='=>'?string'],
|
||||
'strip_tags' => ['string', 'string'=>'string', 'allowed_tags='=>'string'],
|
||||
'stripcslashes' => ['string', 'string'=>'string'],
|
||||
'stripos' => ['int|false', 'haystack'=>'string', 'needle'=>'string', 'offset='=>'int'],
|
||||
'stripslashes' => ['string', 'string'=>'string'],
|
||||
|
@ -46,8 +46,8 @@ return [
|
||||
'new' => ['resource|false', 'command'=>'string|array', 'descriptor_spec'=>'array', '&pipes'=>'resource[]', 'cwd='=>'?string', 'env_vars='=>'?array', 'options='=>'?array'],
|
||||
],
|
||||
'strip_tags' => [
|
||||
'old' => ['string', 'string'=>'string', 'allowed_tags='=>'?string'],
|
||||
'new' => ['string', 'string'=>'string', 'allowed_tags='=>'string|null|list<non-empty-string>'],
|
||||
'old' => ['string', 'string'=>'string', 'allowed_tags='=>'string'],
|
||||
'new' => ['string', 'string'=>'string', 'allowed_tags='=>'string|list<non-empty-string>'],
|
||||
],
|
||||
],
|
||||
'removed' => [
|
||||
|
@ -1381,6 +1381,10 @@ return [
|
||||
'old' => ['string|false', 'format'=>'string', 'timestamp='=>'int'],
|
||||
'new' => ['string|false', 'format'=>'string', 'timestamp='=>'?int'],
|
||||
],
|
||||
'strip_tags' => [
|
||||
'old' => ['string', 'string'=>'string', 'allowed_tags='=>'string|list<non-empty-string>'],
|
||||
'new' => ['string', 'string'=>'string', 'allowed_tags='=>'string|list<non-empty-string>|null'],
|
||||
],
|
||||
'stripos' => [
|
||||
'old' => ['int|false', 'haystack'=>'string', 'needle'=>'string|int', 'offset='=>'int'],
|
||||
'new' => ['int|false', 'haystack'=>'string', 'needle'=>'string', 'offset='=>'int'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user