Skip to content

Commit

Permalink
Fix wrong reference to replacement rule (#3203)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlherren committed Dec 15, 2022
1 parent 0d6234b commit 79a4c3a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;

/**
* @deprecated Use SplitGroupedConstantsRector and SplitGroupedPropertiesRector instead
* @deprecated Use SplitGroupedClassConstantsRector and SplitGroupedPropertiesRector instead
*/
final class SplitGroupedConstantsAndPropertiesRector extends AbstractRector implements DeprecatedRectorInterface
{
Expand Down Expand Up @@ -78,7 +78,7 @@ public function getNodeTypes(): array
public function refactor(Node $node): ?array
{
$this->symfonyStyle->error(
'The "SplitGroupedConstantsAndPropertiesRector" rule is deprecated. Use "SplitGroupedConstantsRector" and "SplitGroupedPropertiesRector" instead'
'The "SplitGroupedConstantsAndPropertiesRector" rule is deprecated. Use "SplitGroupedClassConstantsRector" and "SplitGroupedPropertiesRector" instead'
);
sleep(5);

Expand Down

0 comments on commit 79a4c3a

Please sign in to comment.