Permalink
Browse files

Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.W…

…hiteSpace.MemberVarSpacing.Incorrect (request #20241)
  • Loading branch information...
1 parent 82ae9ff commit 3415069b960dd50fbd0f629cb91f1971930d6985 @gsherwood gsherwood committed Apr 29, 2014
Showing with 2 additions and 1 deletion.
  1. +1 −1 CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/MemberVarSpacingSniff.php
  2. +1 −0 package.xml
@@ -79,7 +79,7 @@ protected function processMemberVar(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
if ($foundLines !== 1) {
$error = 'Expected 1 blank line before member var; %s found';
$data = array($foundLines);
- $phpcsFile->addError($error, $stackPtr, 'After', $data);
+ $phpcsFile->addError($error, $stackPtr, 'Incorrect', $data);
}
}//end processMemberVar()
View
@@ -37,6 +37,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
- Squiz LowercasePHPFunctionsSniff no longer reports errors for namespaced functions
-- Thanks to Max Galbusera for the patch
- Squiz SwitchDeclarationSniff now allows exit() as a breaking statement for case/default
+ - Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request #20241)
- Fixed bug #20200 : Invalid JSON produced with specific error message
- Fixed bug #20204 : Ruleset exclude checks are case sensitive
- Fixed bug #20213 : Invalid error, Inline IF must be declared on single line

0 comments on commit 3415069

Please sign in to comment.