Skip to content

Commit c38f716

Browse files
authored
Merge 2.0.x into 2.1.x
AssertEmptyIsDiscouragedRule: use unique error identifier
2 parents 414a487 + 0d17121 commit c38f716

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/Rules/PHPUnit/AssertEmptyIsDiscouragedRule.php‎

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

4646
return [
4747
RuleErrorBuilder::message(sprintf('%s() is not allowed. Use more strict assertion.', $node->name->toString()))
48-
->identifier('empty.notAllowed')
48+
->identifier('phpunit.assertEmpty')
4949
->build(),
5050
];
5151
}

0 commit comments

Comments
 (0)