From 19628294b909d73856fd65fa453103397a964f74 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 7 Aug 2025 06:22:34 +0200 Subject: [PATCH] [Php85] Remove deprecated arg from openssl_pkey_derive calls --- config/set/php85.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/set/php85.php b/config/set/php85.php index 03d0267f8fb..50608cc312c 100644 --- a/config/set/php85.php +++ b/config/set/php85.php @@ -4,7 +4,16 @@ use Rector\Config\RectorConfig; use Rector\Php85\Rector\ArrayDimFetch\ArrayFirstLastRector; +use Rector\Removing\Rector\FuncCall\RemoveFuncCallArgRector; +use Rector\Removing\ValueObject\RemoveFuncCallArg; return static function (RectorConfig $rectorConfig): void { $rectorConfig->rules([ArrayFirstLastRector::class]); + + $rectorConfig->ruleWithConfiguration( + RemoveFuncCallArgRector::class, + [ + new RemoveFuncCallArg('openssl_pkey_derive', 2), + ] + ); };