Skip to content

Commit

Permalink
fix crash in <PHP8 with ResourceBundle
Browse files Browse the repository at this point in the history
partially reverts vimeo#8217
  • Loading branch information
kkmuffme committed Sep 11, 2022
1 parent 0d0a049 commit f87b527
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dictionaries/CallMap_80_delta.php
Expand Up @@ -214,7 +214,7 @@
'new' => ['bool', 'typelib_name'=>'string', 'case_insensitive='=>'true'],
],
'count' => [
'old' => ['int', 'value'=>'Countable|array|SimpleXMLElement|ResourceBundle', 'mode='=>'int'],
'old' => ['int', 'value'=>'Countable|array|SimpleXMLElement', 'mode='=>'int'],
'new' => ['int', 'value'=>'Countable|array', 'mode='=>'int'],
],
'count_chars' => [
Expand Down
1 change: 1 addition & 0 deletions tests/Internal/Codebase/InternalCallMapHandlerTest.php
Expand Up @@ -51,6 +51,7 @@ class InternalCallMapHandlerTest extends TestCase
private static $ignoredFunctions = [
'apcu_entry',
'array_multisort',
'count', // #8346
'bcdiv',
'bcmod',
'bcpowmod',
Expand Down

0 comments on commit f87b527

Please sign in to comment.