Skip to content

Commit c7ed282

Browse files
committed
fix identifier
1 parent 0c5ff8f commit c7ed282

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Enum/SymfonyRuleIdentifier.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ final class SymfonyRuleIdentifier
3535
public const NO_CLASS_LEVEL_ROUTE = 'symfony.noClassLevelRoute';
3636

3737
public const NO_ROUTE_TRAILING_SLASH_PATH = 'symfony.noRouteTrailingSlashPath';
38+
39+
public const NO_FIND_TAGGED_SERVICE_IDS_CALL = 'symfony.noFindTaggedServiceIdsCall';
3840
}

src/Rules/Symfony/NoFindTaggedServiceIdsCallRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function processNode(Node $node, Scope $scope): array
4343
}
4444

4545
$identifierRuleError = RuleErrorBuilder::message(self::ERROR_MESSAGE)
46-
->identifier(SymfonyRuleIdentifier::class)
46+
->identifier(SymfonyRuleIdentifier::NO_FIND_TAGGED_SERVICE_IDS_CALL)
4747
->build();
4848

4949
return [

0 commit comments

Comments
 (0)