diff --git a/rules/Php84/Rector/Class_/DeprecatedAnnotationToDeprecatedAttributeRector.php b/rules/Php84/Rector/Class_/DeprecatedAnnotationToDeprecatedAttributeRector.php index 37c4e2ba4cb..fd1e87b1752 100644 --- a/rules/Php84/Rector/Class_/DeprecatedAnnotationToDeprecatedAttributeRector.php +++ b/rules/Php84/Rector/Class_/DeprecatedAnnotationToDeprecatedAttributeRector.php @@ -30,23 +30,6 @@ public function getRuleDefinition(): RuleDefinition return new RuleDefinition('Change @deprecated annotation to Deprecated attribute', [ new CodeSample( <<<'CODE_SAMPLE' -/** - * @deprecated 1.0.0 Use SomeOtherClass instead - */ -class SomeClass -{ -} -CODE_SAMPLE - , - <<<'CODE_SAMPLE' -#[\Deprecated(message: 'Use SomeOtherClass instead', since: '1.0.0')] -class SomeClass -{ -} -CODE_SAMPLE - ), - new CodeSample( - <<<'CODE_SAMPLE' /** * @deprecated 1.0.0 Use SomeOtherFunction instead */