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.
2 parents bb7ea48 + 0eade36 commit 157cf8bCopy full SHA for 157cf8b
StellarWP/Sniffs/Whitespace/DocCommentSpacingSniff.php
@@ -55,7 +55,8 @@ public function process( File $phpcsFile, $stackPtr ) {
55
// Check if @since or @version is followed by more than one space
56
if ( strlen( $whitespace ) > 1 ) {
57
$error = 'There should be exactly one space after the `%s` tag, not multiple.';
58
- $fix = $phpcsFile->addFixableError( $error, $stackPtr, 'ExtraSpaces', $full_tag );
+
59
+ $fix = $phpcsFile->addFixableError( $error, $stackPtr, 'ExtraSpaces', [ $full_tag ] );
60
61
if ( $fix ) {
62
$this->fixMultipleSpaces( $phpcsFile, $stackPtr + 1 );
0 commit comments