Skip to content

Commit

Permalink
Merge pull request #8729 from lptn/fix-dictionary-for-strip_tags-func…
Browse files Browse the repository at this point in the history
…tion

Fix dictionary for strip_tags
  • Loading branch information
orklah authored Nov 23, 2022
2 parents 16ba298 + 7678b34 commit e83ac65
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dictionaries/CallMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -13907,7 +13907,7 @@
'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|list<non-empty-string>|null'],
'stripcslashes' => ['string', 'string'=>'string'],
'stripos' => ['int|false', 'haystack'=>'string', 'needle'=>'string', 'offset='=>'int'],
'stripslashes' => ['string', 'string'=>'string'],
Expand Down
4 changes: 4 additions & 0 deletions dictionaries/CallMap_74_delta.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
'old' => ['resource|false', 'command'=>'string', 'descriptor_spec'=>'array', '&pipes'=>'resource[]', 'cwd='=>'?string', 'env_vars='=>'?array', 'options='=>'?array'],
'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|list<non-empty-string>'],
],
],
'removed' => [
],
Expand Down
4 changes: 4 additions & 0 deletions dictionaries/CallMap_80_delta.php
Original file line number Diff line number Diff line change
Expand Up @@ -1393,6 +1393,10 @@
'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'],
Expand Down

0 comments on commit e83ac65

Please sign in to comment.