@@ -3566,7 +3566,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
35663566 - Anonymous classes are now tokenized as T_ANON_CLASS and ignored by normal class sniffs
35673567- Added support for PHP 7 function return type declarations
35683568 - Return types are now tokenized as T_RETURN_TYPE
3569- - Fixed tokenizing of the XOR operator, which was incorrectly identified as a power operator (bug #765)
3569+ - Fixed tokenizing of the XOR operator, which was incorrectly identified as a power operator (bug [ #765] )
35703570 - The T_POWER token has been removed and replaced by the T_BITWISE_XOR token
35713571 - The PHP-supplied T_POW token has been replicated for PHP versions before 5.6
35723572- Traits are now tokenized in PHP versions before 5.4 to make testing easier
@@ -3586,39 +3586,64 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
35863586- Generic InlineControlStructureSniff now correctly fixes ELSEIF statements
35873587
35883588### Fixed
3589- - Fixed bug #601 : Expected type hint int[]; found array in Squiz FunctionCommentSniff
3589+ - Fixed bug [ #601] : Expected type hint int[]; found array in Squiz FunctionCommentSniff
35903590 - Thanks to [Scato Eggen][@scato] for the patch
3591- - Fixed bug #625 : Consider working around T_HASHBANG in HHVM 3.5.x and 3.6.x
3591+ - Fixed bug [ #625] : Consider working around T_HASHBANG in HHVM 3.5.x and 3.6.x
35923592 - Thanks to [Kunal Mehta][@legoktm] for the patch
3593- - Fixed bug #692 : Comment tokenizer can break when using mbstring function overloading
3594- - Fixed bug #694 : Long sniff codes can cause PHP warnings in source report when showing error codes
3595- - Fixed bug #698 : PSR2.Methods.FunctionCallSignature.Indent forces exact indent of ternary operator parameters
3596- - Fixed bug #704 : ScopeIndent can fail when an opening parenthesis is on a line by itself
3597- - Fixed bug #707 : Squiz MethodScopeSniff doesn't handle nested functions
3598- - Fixed bug #709 : Squiz.Sniffs.Whitespace.ScopeClosingBraceSniff marking indented endif in mixed inline HTML blocks
3599- - Fixed bug #711 : Sniffing from STDIN shows Generic.Files.LowercasedFilename.NotFound error
3600- - Fixed bug #714 : Fixes suppression of errors using docblocks
3593+ - Fixed bug [ #692] : Comment tokenizer can break when using mbstring function overloading
3594+ - Fixed bug [ #694] : Long sniff codes can cause PHP warnings in source report when showing error codes
3595+ - Fixed bug [ #698] : PSR2.Methods.FunctionCallSignature.Indent forces exact indent of ternary operator parameters
3596+ - Fixed bug [ #704] : ScopeIndent can fail when an opening parenthesis is on a line by itself
3597+ - Fixed bug [ #707] : Squiz MethodScopeSniff doesn't handle nested functions
3598+ - Fixed bug [ #709] : Squiz.Sniffs.Whitespace.ScopeClosingBraceSniff marking indented endif in mixed inline HTML blocks
3599+ - Fixed bug [ #711] : Sniffing from STDIN shows Generic.Files.LowercasedFilename.NotFound error
3600+ - Fixed bug [ #714] : Fixes suppression of errors using docblocks
36013601 - Thanks to [Andrzej Karmazyn][@akarmazyn] for the patch
3602- - Fixed bug #716 : JSON report is invalid when messages contain newlines or tabs
3602+ - Fixed bug [ #716] : JSON report is invalid when messages contain newlines or tabs
36033603 - Thanks to [Pieter Frenssen][@pfrenssen] for the patch
3604- - Fixed bug #723 : ScopeIndent can fail when multiple array closers are on the same line
3605- - Fixed bug #730 : ScopeIndent can fail when a short array opening square bracket is on a line by itself
3606- - Fixed bug #732 : PHP Notice if @package name is made up of all invalid characters
3604+ - Fixed bug [ #723] : ScopeIndent can fail when multiple array closers are on the same line
3605+ - Fixed bug [ #730] : ScopeIndent can fail when a short array opening square bracket is on a line by itself
3606+ - Fixed bug [ #732] : PHP Notice if @package name is made up of all invalid characters
36073607 - Adds new error code PEAR.Commenting.FileComment.InvalidPackageValue
3608- - Fixed bug #748 : Auto fix for Squiz.Commenting.BlockComment.WrongEnd is incorrect
3608+ - Fixed bug [ #748] : Auto fix for Squiz.Commenting.BlockComment.WrongEnd is incorrect
36093609 - Thanks to [J.D. Grimes][@JDGrimes] for the patch
3610- - Fixed bug #753 : PSR2 standard shouldn't require space after USE block when next code is a closing tag
3611- - Fixed bug #768 : PEAR FunctionCallSignature sniff forbids comments after opening parenthesis of a multiline call
3612- - Fixed bug #769 : Incorrect detection of variable reference operator when used with short array syntax
3610+ - Fixed bug [ #753] : PSR2 standard shouldn't require space after USE block when next code is a closing tag
3611+ - Fixed bug [ #768] : PEAR FunctionCallSignature sniff forbids comments after opening parenthesis of a multiline call
3612+ - Fixed bug [ #769] : Incorrect detection of variable reference operator when used with short array syntax
36133613 - Thanks to [Klaus Purer][@klausi] for the patch
3614- - Fixed bug #772 : Syntax error when using PHPCBF on alternative style foreach loops
3615- - Fixed bug #773 : Syntax error when stripping trailing PHP close tag and previous statement has no semicolon
3616- - Fixed bug #778 : PHPCBF creates invalid PHP for inline FOREACH containing multiple control structures
3617- - Fixed bug #781 : Incorrect checking for PHP7 return types on multi-line function declarations
3618- - Fixed bug #782 : Conditional function declarations cause fixing conflicts in Squiz standard
3614+ - Fixed bug [ #772] : Syntax error when using PHPCBF on alternative style foreach loops
3615+ - Fixed bug [ #773] : Syntax error when stripping trailing PHP close tag and previous statement has no semicolon
3616+ - Fixed bug [ #778] : PHPCBF creates invalid PHP for inline FOREACH containing multiple control structures
3617+ - Fixed bug [ #781] : Incorrect checking for PHP7 return types on multi-line function declarations
3618+ - Fixed bug [ #782] : Conditional function declarations cause fixing conflicts in Squiz standard
36193619 - Squiz.ControlStructures.ControlSignature no longer enforces a single newline after open brace
36203620 - Squiz.WhiteSpace.ControlStructureSpacing can be used to check spacing at the start/end of control structures
36213621
3622+ [#601]: https://github.com/squizlabs/PHP_CodeSniffer/issues/601
3623+ [#625]: https://github.com/squizlabs/PHP_CodeSniffer/issues/625
3624+ [#692]: https://github.com/squizlabs/PHP_CodeSniffer/pull/692
3625+ [#694]: https://github.com/squizlabs/PHP_CodeSniffer/issues/694
3626+ [#698]: https://github.com/squizlabs/PHP_CodeSniffer/issues/698
3627+ [#704]: https://github.com/squizlabs/PHP_CodeSniffer/issues/704
3628+ [#707]: https://github.com/squizlabs/PHP_CodeSniffer/pull/707
3629+ [#709]: https://github.com/squizlabs/PHP_CodeSniffer/issues/709
3630+ [#711]: https://github.com/squizlabs/PHP_CodeSniffer/issues/711
3631+ [#714]: https://github.com/squizlabs/PHP_CodeSniffer/pull/714
3632+ [#716]: https://github.com/squizlabs/PHP_CodeSniffer/pull/716
3633+ [#723]: https://github.com/squizlabs/PHP_CodeSniffer/issues/723
3634+ [#730]: https://github.com/squizlabs/PHP_CodeSniffer/pull/730
3635+ [#732]: https://github.com/squizlabs/PHP_CodeSniffer/pull/732
3636+ [#748]: https://github.com/squizlabs/PHP_CodeSniffer/pull/748
3637+ [#753]: https://github.com/squizlabs/PHP_CodeSniffer/issues/753
3638+ [#765]: https://github.com/squizlabs/PHP_CodeSniffer/issues/765
3639+ [#768]: https://github.com/squizlabs/PHP_CodeSniffer/issues/768
3640+ [#769]: https://github.com/squizlabs/PHP_CodeSniffer/pull/769
3641+ [#772]: https://github.com/squizlabs/PHP_CodeSniffer/issues/772
3642+ [#773]: https://github.com/squizlabs/PHP_CodeSniffer/issues/773
3643+ [#778]: https://github.com/squizlabs/PHP_CodeSniffer/issues/778
3644+ [#781]: https://github.com/squizlabs/PHP_CodeSniffer/issues/781
3645+ [#782]: https://github.com/squizlabs/PHP_CodeSniffer/issues/782
3646+
36223647## [2.3.4] - 2015-09-09
36233648### Changed
36243649- JSON report format now includes the fixable status for each error message and the total number of fixable errors
0 commit comments