Skip to content

Commit 686f83c

Browse files
committed
improve wording
1 parent 356eccd commit 686f83c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Rules/Playground/PhpdocCommentRule.php

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

50-
$errors[] = RuleErrorBuilder::message('Comment contains phpdoc-tag but does not start with /** tag.')
50+
$errors[] = RuleErrorBuilder::message('Comment contains PHPDoc tag but does not start with /** prefix.')
5151
->identifier('phpstanPlayground.noPhpdoc')
5252
->build();
5353
}

tests/PHPStan/Rules/Playground/PhpdocCommentRuleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ public function testRule(): void
2020
{
2121
$this->analyse([__DIR__ . '/data/comments.php'], [
2222
[
23-
'Comment contains phpdoc-tag but does not start with /** tag.',
23+
'Comment contains PHPDoc tag but does not start with /** prefix.',
2424
13,
2525
],
2626
[
27-
'Comment contains phpdoc-tag but does not start with /** tag.',
27+
'Comment contains PHPDoc tag but does not start with /** prefix.',
2828
23,
2929
],
3030
]);

0 commit comments

Comments
 (0)