diff --git a/generated/8.1/functionsList.php b/generated/8.1/functionsList.php index fe521b5e..87a36642 100644 --- a/generated/8.1/functionsList.php +++ b/generated/8.1/functionsList.php @@ -13,7 +13,6 @@ 'apcu_fetch', 'apcu_inc', 'apcu_sma_info', - 'array_combine', 'array_flip', 'array_replace', 'array_replace_recursive', diff --git a/generated/8.1/rector-migrate.php b/generated/8.1/rector-migrate.php index cd06ea5f..291c9485 100644 --- a/generated/8.1/rector-migrate.php +++ b/generated/8.1/rector-migrate.php @@ -21,7 +21,6 @@ 'apcu_fetch' => 'Safe\apcu_fetch', 'apcu_inc' => 'Safe\apcu_inc', 'apcu_sma_info' => 'Safe\apcu_sma_info', - 'array_combine' => 'Safe\array_combine', 'array_flip' => 'Safe\array_flip', 'array_replace' => 'Safe\array_replace', 'array_replace_recursive' => 'Safe\array_replace_recursive', diff --git a/generator/config/hiddenFunctions.php b/generator/config/hiddenFunctions.php index 19a280af..a88fe750 100644 --- a/generator/config/hiddenFunctions.php +++ b/generator/config/hiddenFunctions.php @@ -8,6 +8,7 @@ */ return [ 'array_all', // false is not an error + 'array_combine', // this function throws an error instead of returning false since PHP 8.0 'array_walk_recursive', // actually returns always true, see https://github.com/php/doc-en/commit/cec5275f23d2db648df30a5702b378044431be97 'date', // this function throws an error instead of returning false PHP 8.0, but the doc has only been updated since PHP 8.4 'getallheaders', // always return an array since PHP 7, see https://github.com/php/doc-en/commit/68e52ef14de33f6752a8fdda1ae83c861c5babdb