diff --git a/config/set/php85.php b/config/set/php85.php index 3705db4a8ef..7c71e4d6a0b 100644 --- a/config/set/php85.php +++ b/config/set/php85.php @@ -17,9 +17,11 @@ RemoveFuncCallArgRector::class, [ new RemoveFuncCallArg('openssl_pkey_derive', 2), + // https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_exclude_disabled_parameter_of_get_defined_functions + new RemoveFuncCallArg('get_defined_functions', 0), ] ); - + // https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_splobjectstoragecontains_splobjectstorageattach_and_splobjectstoragedetach $rectorConfig->ruleWithConfiguration( RenameMethodRector::class, @@ -29,14 +31,14 @@ new MethodCallRename('SplObjectStorage', 'detach', 'offsetUnset'), ] ); - + $rectorConfig->ruleWithConfiguration( RenameFunctionRector::class, [ - // https://wiki.php.net/rfc/deprecations_php_8_5#formally_deprecate_socket_set_timeout + // https://wiki.php.net/rfc/deprecations_php_8_5#formally_deprecate_socket_set_timeout 'socket_set_timeout' => 'stream_set_timeout', - - // https://wiki.php.net/rfc/deprecations_php_8_5#formally_deprecate_mysqli_execute + + // https://wiki.php.net/rfc/deprecations_php_8_5#formally_deprecate_mysqli_execute 'mysqli_execute' => 'mysqli_stmt_execute', ] );