We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ce2685 commit e1f8c60Copy full SHA for e1f8c60
tests/PHPStan/Rules/NameHookedRuleTest.php
@@ -30,9 +30,11 @@ public function getNodeType(): string
30
*/
31
public function processNode(Node $node, Scope $scope): array
32
{
33
- return RuleErrorBuilder::message('Found a name: ' . $node->toString())
+ $error = RuleErrorBuilder::message('Found a name: ' . $node->toString())
34
->identifier('test.name.hooked')
35
->build();
36
+
37
+ return [$error];
38
}
39
40
};
0 commit comments