Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9cd0c83

Browse filesBrowse 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
Copy full SHA for 9cd0c83

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Magento2/Sniffs/Commenting/ClassAndInterfacePHPDocFormattingSniff.php

Copy file name to clipboardExpand all lines: Magento2/Sniffs/Commenting/ClassAndInterfacePHPDocFormattingSniff.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.