We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60fb041 commit 1db1da4Copy full SHA for 1db1da4
EcgM2/Sniffs/Blocks/SetTemplateInBlockSniff.php
@@ -42,7 +42,7 @@ public function process(File $phpcsFile, $stackPtr)
42
}
43
44
$error = $this->message . ' Found: %s';
45
- $phpcsFile->addWarning($error, $line, 'Found', $token);
+ $phpcsFile->addWarning($error, $line, 'Found', [$token]);
46
47
48
0 commit comments