2 parents 414a487 + 0d17121 commit c38f716Copy full SHA for c38f716
1 file changed
src/Rules/PHPUnit/AssertEmptyIsDiscouragedRule.php
@@ -45,7 +45,7 @@ public function processNode(Node $node, Scope $scope): array
45
46
return [
47
RuleErrorBuilder::message(sprintf('%s() is not allowed. Use more strict assertion.', $node->name->toString()))
48
- ->identifier('empty.notAllowed')
+ ->identifier('phpunit.assertEmpty')
49
->build(),
50
];
51
}
0 commit comments