We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d6ceeb commit 9e59ceaCopy full SHA for 9e59cea
Chadicus/Sniffs/Commenting/ClassCommentSniff.php
@@ -45,7 +45,7 @@ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
45
if ($tokens[$commentEnd]['code'] !== T_DOC_COMMENT_CLOSE_TAG
46
&& $tokens[$commentEnd]['code'] !== T_COMMENT
47
) {
48
- $phpcsFile->addError('Missing class doc comment', $stackPtr, 'Missing');
+ //Don't require the class doc block.
49
return;
50
}
51
0 commit comments