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 457f773 commit 87d0940Copy full SHA for 87d0940
coder_sniffer/Drupal/Sniffs/Commenting/FunctionCommentSniff.php
@@ -99,7 +99,7 @@ public function process(File $phpcsFile, $stackPtr)
99
// If there is a phpstan-ignore inline comment disregard it and continue searching backwards
100
// to find the function comment.
101
if ($tokens[$commentEnd]['code'] === T_COMMENT
102
- && preg_match('/\@xphpstan-ignore/', $tokens[$commentEnd]['content']) === true
+ && preg_match('/\@phpstan-ignore/', $tokens[$commentEnd]['content']) === true
103
) {
104
$phpstanCommentLines += 1;
105
continue;
0 commit comments