Skip to content

Commit 529e612

Browse files
authored
Ignore the already safe getallheaders() function (#668)
1 parent 8513e5c commit 529e612

File tree

7 files changed

+2
-7
lines changed

7 files changed

+2
-7
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.

generated/8.2/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.2/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.

generated/8.3/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.3/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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
return [
1010
'array_all', // false is not an error
1111
'array_walk_recursive', // actually returns always true, see https://github.com/php/doc-en/commit/cec5275f23d2db648df30a5702b378044431be97
12+
'getallheaders', // always return an array since PHP 7, see https://github.com/php/doc-en/commit/68e52ef14de33f6752a8fdda1ae83c861c5babdb
13+
'pack', // this function no longer returns false since PHP 8.0, but the doc has only been updated since PHP 8.4
1214
'sodium_crypto_auth_verify', // boolean return value is expected from verify
1315
'sodium_crypto_sign_verify_detached', // boolean return value is expected from verify
14-
'pack', // this function no longer returns false since PHP 8.0, but the doc has only been updated since PHP 8.4
1516
];

0 commit comments

Comments
 (0)