Skip to content

Commit f7cc871

Browse files
committed
Merge branch 'master' into 4.x
2 parents 454dbd9 + c43b854 commit f7cc871

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ _Nothing yet._
3131
- Errors will be reported via a new `AvizKeywordOrder` error code.
3232
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
3333
- The Squiz.Functions.FunctionDeclarationArgumentSpacing will now check spacing after a set-visibility modifier keyword. [#1121]
34-
- Errors will be reported via a new `SpacingAfterSetVisbility` error code.
34+
- Errors will be reported via a new `SpacingAfterSetVisibility` error code.
3535
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
3636
- The Squiz.Scope.MemberVarScope will now flag missing "read" visibility, when "write" visibility is set, under a separate error code `AsymReadMissing`. [#1122]
3737
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.

src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ public function processBracket($phpcsFile, $openBracket)
354354
$spacesAfter,
355355
];
356356

357-
$fix = $phpcsFile->addFixableError($error, $visibilityToken, 'SpacingAfterSetVisbility', $data);
357+
$fix = $phpcsFile->addFixableError($error, $visibilityToken, 'SpacingAfterSetVisibility', $data);
358358
if ($fix === true) {
359359
$phpcsFile->fixer->beginChangeset();
360360
$phpcsFile->fixer->addContent($visibilityToken, ' ');

0 commit comments

Comments
 (0)