diff --git a/src/Rules/PHPUnit/AssertEmptyIsDiscouragedRule.php b/src/Rules/PHPUnit/AssertEmptyIsDiscouragedRule.php index 61ab735..5459e26 100644 --- a/src/Rules/PHPUnit/AssertEmptyIsDiscouragedRule.php +++ b/src/Rules/PHPUnit/AssertEmptyIsDiscouragedRule.php @@ -45,7 +45,7 @@ public function processNode(Node $node, Scope $scope): array return [ RuleErrorBuilder::message(sprintf('%s() is not allowed. Use more strict assertion.', $node->name->toString())) - ->identifier('empty.notAllowed') + ->identifier('phpunit.assertEmpty') ->build(), ]; }