Skip to content

Commit 94335fa

Browse files
authored
Fix date_sun_info() on PHP < 8.4 (#689)
1 parent 240b596 commit 94335fa

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
@@ -18,6 +18,7 @@
1818
'curl_share_errno', // this function does not anymore return false since PHP 8.0
1919
'date', // this function throws an error instead of returning false PHP 8.0, but the doc has only been updated since PHP 8.4
2020
'date_parse', // always return an array, see https://github.com/php/doc-en/pull/2395
21+
'date_sun_info', // always return an array since PHP 8.0, https://github.com/php/doc-en/pull/3207
2122
'getallheaders', // always return an array since PHP 7, see https://github.com/php/doc-en/commit/68e52ef14de33f6752a8fdda1ae83c861c5babdb
2223
'gmp_random_seed', // this function throws an error instead of returning false since PHP 8.0
2324
'hash_hkdf', // this function throws an error instead of returning false since PHP 8.0

0 commit comments

Comments
 (0)