Skip to content

Commit 991659a

Browse files
authored
Ignore the already safe date() function (#665)
1 parent 554aeeb commit 991659a

File tree

7 files changed

+1
-6
lines changed

7 files changed

+1
-6
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
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+
'date', // this function throws an error instead of returning false PHP 8.0, but the doc has only been updated since PHP 8.4
1213
'getallheaders', // always return an array since PHP 7, see https://github.com/php/doc-en/commit/68e52ef14de33f6752a8fdda1ae83c861c5babdb
1314
'pack', // this function no longer returns false since PHP 8.0, but the doc has only been updated since PHP 8.4
1415
'imagesx', // this function throws an error instead of returning false PHP 8.0, see https://github.com/php/doc-en/commit/0462f49fb00dd5abaec3aa322009f2eb40a3279d

0 commit comments

Comments
 (0)