From 7bce35f3dea52d259fe139e8238ac7d6fecb2bf0 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Tue, 17 Nov 2026 16:53:58 +0100 Subject: [PATCH] [CodeQuality] Remove deprecated SimplifyStrposLowerRector --- .../FuncCall/SimplifyStrposLowerRector.php | 46 ------------------- 1 file changed, 46 deletions(-) delete mode 100644 rules/CodeQuality/Rector/FuncCall/SimplifyStrposLowerRector.php diff --git a/rules/CodeQuality/Rector/FuncCall/SimplifyStrposLowerRector.php b/rules/CodeQuality/Rector/FuncCall/SimplifyStrposLowerRector.php deleted file mode 100644 index d703a049feb..00000000000 --- a/rules/CodeQuality/Rector/FuncCall/SimplifyStrposLowerRector.php +++ /dev/null @@ -1,46 +0,0 @@ -> - */ - public function getNodeTypes(): array - { - return [FuncCall::class]; - } - - /** - * @param FuncCall $node - */ - public function refactor(Node $node): ?Node - { - throw new ShouldNotHappenException(sprintf( - '"%s" rule is deprecated, as it handles a niche strpos(strtolower()) case that is not part of the PHP upgrade path', - self::class - )); - } -}