Skip to content

Commit 87d0940

Browse files
committed
remove x
1 parent 457f773 commit 87d0940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coder_sniffer/Drupal/Sniffs/Commenting/FunctionCommentSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function process(File $phpcsFile, $stackPtr)
9999
// If there is a phpstan-ignore inline comment disregard it and continue searching backwards
100100
// to find the function comment.
101101
if ($tokens[$commentEnd]['code'] === T_COMMENT
102-
&& preg_match('/\@xphpstan-ignore/', $tokens[$commentEnd]['content']) === true
102+
&& preg_match('/\@phpstan-ignore/', $tokens[$commentEnd]['content']) === true
103103
) {
104104
$phpstanCommentLines += 1;
105105
continue;

0 commit comments

Comments
 (0)