diff --git a/rules/CodingStyle/Rector/PostInc/PostIncDecToPreIncDecRector.php b/rules/CodingStyle/Rector/PostInc/PostIncDecToPreIncDecRector.php deleted file mode 100644 index 57bf85edfc3..00000000000 --- a/rules/CodingStyle/Rector/PostInc/PostIncDecToPreIncDecRector.php +++ /dev/null @@ -1,71 +0,0 @@ -> - */ - public function getNodeTypes(): array - { - return [For_::class, Expression::class]; - } - - /** - * @param For_|Expression $node - */ - public function refactor(Node $node): ?Node - { - throw new ShouldNotHappenException(sprintf( - '"%s" rule is deprecated, as it is a cosmetic coding-style preference better handled by a coding standard tool', - self::class - )); - } -}