Skip to content

Commit bf4c4c9

Browse files
authored
Fix array_combine() on PHP 8.1 (#672)
1 parent b7ffc8d commit bf4c4c9

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

generated/8.1/functionsList.php

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/8.1/rector-migrate.php

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generator/config/hiddenFunctions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*/
99
return [
1010
'array_all', // false is not an error
11+
'array_combine', // this function throws an error instead of returning false since PHP 8.0
1112
'array_walk_recursive', // actually returns always true, see https://github.com/php/doc-en/commit/cec5275f23d2db648df30a5702b378044431be97
1213
'date', // this function throws an error instead of returning false PHP 8.0, but the doc has only been updated since PHP 8.4
1314
'getallheaders', // always return an array since PHP 7, see https://github.com/php/doc-en/commit/68e52ef14de33f6752a8fdda1ae83c861c5babdb

0 commit comments

Comments
 (0)