Skip to content

Commit e83ac65

Browse files
authored
Merge pull request #8729 from lptn/fix-dictionary-for-strip_tags-function
Fix dictionary for strip_tags
2 parents 16ba298 + 7678b34 commit e83ac65

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

dictionaries/CallMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13907,7 +13907,7 @@
1390713907
'streamWrapper::unlink' => ['bool', 'path'=>'string'],
1390813908
'streamWrapper::url_stat' => ['array', 'path'=>'string', 'flags'=>'int'],
1390913909
'strftime' => ['string|false', 'format'=>'string', 'timestamp='=>'?int'],
13910-
'strip_tags' => ['string', 'string'=>'string', 'allowed_tags='=>'string'],
13910+
'strip_tags' => ['string', 'string'=>'string', 'allowed_tags='=>'string|list<non-empty-string>|null'],
1391113911
'stripcslashes' => ['string', 'string'=>'string'],
1391213912
'stripos' => ['int|false', 'haystack'=>'string', 'needle'=>'string', 'offset='=>'int'],
1391313913
'stripslashes' => ['string', 'string'=>'string'],

dictionaries/CallMap_74_delta.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
'old' => ['resource|false', 'command'=>'string', 'descriptor_spec'=>'array', '&pipes'=>'resource[]', 'cwd='=>'?string', 'env_vars='=>'?array', 'options='=>'?array'],
4646
'new' => ['resource|false', 'command'=>'string|array', 'descriptor_spec'=>'array', '&pipes'=>'resource[]', 'cwd='=>'?string', 'env_vars='=>'?array', 'options='=>'?array'],
4747
],
48+
'strip_tags' => [
49+
'old' => ['string', 'string'=>'string', 'allowed_tags='=>'string'],
50+
'new' => ['string', 'string'=>'string', 'allowed_tags='=>'string|list<non-empty-string>'],
51+
],
4852
],
4953
'removed' => [
5054
],

dictionaries/CallMap_80_delta.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,6 +1393,10 @@
13931393
'old' => ['string|false', 'format'=>'string', 'timestamp='=>'int'],
13941394
'new' => ['string|false', 'format'=>'string', 'timestamp='=>'?int'],
13951395
],
1396+
'strip_tags' => [
1397+
'old' => ['string', 'string'=>'string', 'allowed_tags='=>'string|list<non-empty-string>'],
1398+
'new' => ['string', 'string'=>'string', 'allowed_tags='=>'string|list<non-empty-string>|null'],
1399+
],
13961400
'stripos' => [
13971401
'old' => ['int|false', 'haystack'=>'string', 'needle'=>'string|int', 'offset='=>'int'],
13981402
'new' => ['int|false', 'haystack'=>'string', 'needle'=>'string', 'offset='=>'int'],

0 commit comments

Comments
 (0)