Skip to content

Commit c573001

Browse files
committed
Fixed coding standard error
1 parent 0f7a552 commit c573001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Standards/PSR12/Sniffs/Files/FileHeaderSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public function process(File $phpcsFile, $stackPtr)
147147
$next = $phpcsFile->findNext(T_WHITESPACE, ($line['end'] + 1), null, true);
148148
if ($tokens[$next]['line'] !== ($tokens[$line['end']]['line'] + 2)) {
149149
$error = 'Header blocks must be followed by a single blank line';
150-
$fix = $phpcsFile->addFixableError($error, $line['end'], 'SpacingAfterBlock');
150+
$fix = $phpcsFile->addFixableError($error, $line['end'], 'SpacingAfterBlock');
151151
if ($fix === true) {
152152
if ($tokens[$next]['line'] === $tokens[$line['end']]['line']) {
153153
$phpcsFile->fixer->addNewlineBefore($next);

0 commit comments

Comments
 (0)