Skip to content

Commit 37e7d6e

Browse files
committed
ADD identifer to rule
1 parent 0b2ac63 commit 37e7d6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Rules/MustUseResultRule.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ public function processNode(Node $node, Scope $scope): array
7474

7575
if ($mustUseResult) {
7676
return [
77-
RuleErrorBuilder::message('Result returned by method must be used')->build(),
77+
RuleErrorBuilder::message('Result returned by method must be used')
78+
->identifier('phpExtensionLibrary.mustUseResult')
79+
->build(),
7880
];
7981
}
8082
}

0 commit comments

Comments
 (0)