Skip to content

Commit 9cd0c83

Browse files
authored
Merge pull request #171 from magento/lenaorobei-patch-1
Fixed confusing message for Class and Interface blocks
2 parents 7601e3c + 8244534 commit 9cd0c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Magento2/Sniffs/Commenting/ClassAndInterfacePHPDocFormattingSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function process(File $phpcsFile, $stackPtr)
6565
if ($this->PHPDocFormattingValidator->providesMeaning($namePtr, $commentStartPtr, $tokens) !== true) {
6666
$phpcsFile->addWarning(
6767
sprintf(
68-
'%s description should contain additional information beyond the name already supplies.',
68+
'%s description must contain meaningful information beyond what its name provides or be removed.',
6969
ucfirst($tokens[$stackPtr]['content'])
7070
),
7171
$stackPtr,

0 commit comments

Comments
 (0)