Skip to content

Commit

Permalink
Changelog for #1892 - bakport for #1890
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Feb 11, 2018
1 parent 7eba2c8 commit 8a457eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
// Get token identifier.
$name = strtoupper($token['content']);
$error = 'Empty %s statement detected';
$phpcsFile->addError($error, $stackPtr, 'Detected'.ucfirst(strtolower($name)), array($name));
$phpcsFile->addError($error, $stackPtr, 'Detected'.ucfirst(strtolower($name)), array($name));

}//end process()

Expand Down
1 change: 1 addition & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
-- Thanks to Michał Bundyra for the patch
- Fixed bug #1549 : Squiz.PHP.EmbeddedPhp fixer conflict with // comment before PHP close tag
-- Thanks to Juliette Reinders Folmer for the patch
- Fixed bug #1890 : Incorrect Squiz.WhiteSpace.ControlStructureSpacing.NoLineAfterClose error between catch and finally statements
</notes>
<contents>
<dir name="/">
Expand Down

0 comments on commit 8a457eb

Please sign in to comment.