From d3a7988f39200893699f64f91df38673669cc154 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Tue, 17 Nov 2026 16:03:24 +0100 Subject: [PATCH] [CodeQuality] Remove deprecated BehatPHPUnitAssertToWebmozartRector --- .../BehatPHPUnitAssertToWebmozartRector.php | 74 ------------------- 1 file changed, 74 deletions(-) delete mode 100644 rules/CodeQuality/Rector/ClassMethod/BehatPHPUnitAssertToWebmozartRector.php diff --git a/rules/CodeQuality/Rector/ClassMethod/BehatPHPUnitAssertToWebmozartRector.php b/rules/CodeQuality/Rector/ClassMethod/BehatPHPUnitAssertToWebmozartRector.php deleted file mode 100644 index 95b99a77..00000000 --- a/rules/CodeQuality/Rector/ClassMethod/BehatPHPUnitAssertToWebmozartRector.php +++ /dev/null @@ -1,74 +0,0 @@ -> - */ - public function getNodeTypes(): array - { - return [ClassMethod::class]; - } - - /** - * @param ClassMethod $node - */ - public function refactor(Node $node): ?Node - { - throw new ShouldNotHappenException(sprintf( - '"%s" is deprecated as too narrow. Implement it as a custom rule instead.', - self::class, - )); - } -}