@@ -4253,7 +4253,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
42534253- Improved indented PHP tag support in Generic ScopeIndentSniff
42544254- Generic CamelCapsFunctionNameSniff now ignores a single leading underscore
42554255 - Thanks to [Alex Slobodiskiy][@xt99] for the patch
4256- - Standards can now be located within hidden directories (further fix for bug #20323)
4256+ - Standards can now be located within hidden directories (further fix for bug [ #20323][pear-20323] )
42574257 - Thanks to [Klaus Purer][@klausi] for the patch
42584258- Added Generic SyntaxSniff to check for syntax errors in PHP files
42594259 - Thanks to [Blaine Schmeisser][@bayleedev] for the contribution
@@ -4263,18 +4263,26 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
42634263- Generic UpperCaseConstantSniff and LowerCaseConstantSniff now ignore function names
42644264
42654265### Fixed
4266- - Fixed bug #248 : FunctionCommentSniff expects ampersand on param name
4267- - Fixed bug #265 : False positives with type hints in ForbiddenFunctionsSniff
4268- - Fixed bug #20373 : Inline comment sniff tab handling way
4269- - Fixed bug #20378 : Report appended to existing file if no errors found in run
4270- - Fixed bug #20381 : Invalid "Comment closer must be on a new line"
4266+ - Fixed bug [ #248][sq-248] : FunctionCommentSniff expects ampersand on param name
4267+ - Fixed bug [ #265][sq-265] : False positives with type hints in ForbiddenFunctionsSniff
4268+ - Fixed bug [ #20373][pear-20373] : Inline comment sniff tab handling way
4269+ - Fixed bug [ #20378][pear-20378] : Report appended to existing file if no errors found in run
4270+ - Fixed bug [ #20381][pear-20381] : Invalid "Comment closer must be on a new line"
42714271 - Thanks to [Brad Kent][@bkdotcom] for the patch
4272- - Fixed bug #20386 : Squiz.Commenting.ClassComment.SpacingBefore thrown if first block comment
4272+ - Fixed bug [#20386][pear-20386] : Squiz.Commenting.ClassComment.SpacingBefore thrown if first block comment
4273+
4274+ [sq-248]: https://github.com/squizlabs/PHP_CodeSniffer/issues/248
4275+ [sq-265]: https://github.com/squizlabs/PHP_CodeSniffer/pull/265
4276+ [pear-20323]: https://pear.php.net/bugs/bug.php?id=20323
4277+ [pear-20373]: https://pear.php.net/bugs/bug.php?id=20373
4278+ [pear-20378]: https://pear.php.net/bugs/bug.php?id=20378
4279+ [pear-20381]: https://pear.php.net/bugs/bug.php?id=20381
4280+ [pear-20386]: https://pear.php.net/bugs/bug.php?id=20386
42734281
42744282## [2.0.0RC1] - 2014-08-06
42754283### Changed
42764284- PHPCBF will now fix incorrect newline characters in a file
4277- - PHPCBF now exists cleanly when there are no errors to fix
4285+ - PHPCBF now exits cleanly when there are no errors to fix
42784286- Added phpcbf.bat file for Windows
42794287- Verbose option no longer errors when using a phar file with a space in the path
42804288- Fixed a reporting error when using HHVM
@@ -4292,7 +4300,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
42924300- The filtering component of the --extensions argument is now ignored again when passing filenames
42934301 - Can still be used to specify a custom tokenizer for each extension when passing filenames
42944302 - If no tokenizer is specified, default values will be used for common file extensions
4295- - Diff report now produces relative paths on Windows, where possible (further fix for bug #20234)
4303+ - Diff report now produces relative paths on Windows, where possible (further fix for bug [ #20234][pear-20234] )
42964304- If a token's content has been modified by the tab-width setting, it will now have an orig_content in the tokens array
42974305- Generic DisallowSpaceIndent and DisallowTabIndent sniffs now check original indent content even when tab-width is set
42984306 - Previously, setting --tab-width would force both to check the indent as spaces
@@ -4316,29 +4324,46 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
43164324 - Thanks to [Ole Martin Handeland][@olemartinorg] for the patch
43174325- Generic LowerCaseConstantSniff and UpperCaseConstantSniff now ignore namespaces beginning with TRUE/FALSE/NULL
43184326 - Thanks to [Renan Gonçalves][@renan] for the patch
4319- - Squiz InlineCommentSniff no longer requires a blank line after post-statement comments (request #20299)
4327+ - Squiz InlineCommentSniff no longer requires a blank line after post-statement comments (request [ #20299][pear-20299] )
43204328- Squiz SelfMemberReferenceSniff now works correctly with namespaces
43214329- Squiz FunctionCommentSniff is now more relaxed when checking namespaced type hints
4322- - Tab characters are now encoded in abstract pattern errors messages
4330+ - Tab characters are now encoded in abstract pattern error messages
43234331 - Thanks to [Blaine Schmeisser][@bayleedev] for the patch
4324- - Invalid sniff codes passed to --sniffs now show a friendly error message (request #20313)
4325- - Generic LineLengthSniff now shows a warning if the iconv module is disabled (request #20314)
4332+ - Invalid sniff codes passed to --sniffs now show a friendly error message (request [ #20313][pear-20313] )
4333+ - Generic LineLengthSniff now shows a warning if the iconv module is disabled (request [ #20314][pear-20314] )
43264334- Source report no longer shows errors if category or sniff names ends in an uppercase error
43274335 - Thanks to [Jonathan Marcil][@jmarcil] for the patch
43284336
43294337### Fixed
4330- - Fixed bug #20261 : phpcbf has an endless fixing loop
4331- - Fixed bug #20268 : Incorrect documentation titles in PEAR documentation
4332- - Fixed bug #20296 : new array notion in function comma check fails
4333- - Fixed bug #20297 : phar does not work when renamed it to phpcs
4334- - Fixed bug #20307 : PHP_CodeSniffer_Standards_AbstractVariableSniff analyze traits
4335- - Fixed bug #20308 : Squiz.ValidVariableNameSniff - wrong variable usage
4336- - Fixed bug #20309 : Use "member variable" term in sniff "processMemberVar" method
4337- - Fixed bug #20310 : PSR2 does not check for space after function name
4338- - Fixed bug #20322 : Display rules set to type=error even when suppressing warnings
4339- - Fixed bug #20323 : PHPCS tries to load sniffs from hidden directories
4340- - Fixed bug #20346 : Fixer endless loop with Squiz.CSS sniffs
4341- - Fixed bug #20355 : No sniffs are registered with PHAR on Windows
4338+ - Fixed bug [#20261][pear-20261] : phpcbf has an endless fixing loop
4339+ - Fixed bug [#20268][pear-20268] : Incorrect documentation titles in PEAR documentation
4340+ - Fixed bug [#20296][pear-20296] : new array notion in function comma check fails
4341+ - Fixed bug [#20297][pear-20297] : phar does not work when renamed it to phpcs
4342+ - Fixed bug [#20307][pear-20307] : PHP_CodeSniffer_Standards_AbstractVariableSniff analyze traits
4343+ - Fixed bug [#20308][pear-20308] : Squiz.ValidVariableNameSniff - wrong variable usage
4344+ - Fixed bug [#20309][pear-20309] : Use "member variable" term in sniff "processMemberVar" method
4345+ - Fixed bug [#20310][pear-20310] : PSR2 does not check for space after function name
4346+ - Fixed bug [#20322][pear-20322] : Display rules set to type=error even when suppressing warnings
4347+ - Fixed bug [#20323][pear-20323] : PHPCS tries to load sniffs from hidden directories
4348+ - Fixed bug [#20346][pear-20346] : Fixer endless loop with Squiz.CSS sniffs
4349+ - Fixed bug [#20355][pear-20355] : No sniffs are registered with PHAR on Windows
4350+
4351+ [pear-20234]: https://pear.php.net/bugs/bug.php?id=20234
4352+ [pear-20261]: https://pear.php.net/bugs/bug.php?id=20261
4353+ [pear-20268]: https://pear.php.net/bugs/bug.php?id=20268
4354+ [pear-20296]: https://pear.php.net/bugs/bug.php?id=20296
4355+ [pear-20297]: https://pear.php.net/bugs/bug.php?id=20297
4356+ [pear-20299]: https://pear.php.net/bugs/bug.php?id=20299
4357+ [pear-20307]: https://pear.php.net/bugs/bug.php?id=20307
4358+ [pear-20308]: https://pear.php.net/bugs/bug.php?id=20308
4359+ [pear-20309]: https://pear.php.net/bugs/bug.php?id=20309
4360+ [pear-20310]: https://pear.php.net/bugs/bug.php?id=20310
4361+ [pear-20313]: https://pear.php.net/bugs/bug.php?id=20313
4362+ [pear-20314]: https://pear.php.net/bugs/bug.php?id=20314
4363+ [pear-20322]: https://pear.php.net/bugs/bug.php?id=20322
4364+ [pear-20323]: https://pear.php.net/bugs/bug.php?id=20323
4365+ [pear-20346]: https://pear.php.net/bugs/bug.php?id=20346
4366+ [pear-20355]: https://pear.php.net/bugs/bug.php?id=20355
43424367
43434368## [1.5.4] - 2014-08-06
43444369### Changed
@@ -4355,24 +4380,36 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
43554380 - Thanks to [Ole Martin Handeland][@olemartinorg] for the patch
43564381- Generic LowerCaseConstantSniff and UpperCaseConstantSniff now ignore namespaces beginning with TRUE/FALSE/NULL
43574382 - Thanks to [Renan Gonçalves][@renan] for the patch
4358- - Squiz InlineCommentSniff no longer requires a blank line after post-statement comments (request #20299)
4383+ - Squiz InlineCommentSniff no longer requires a blank line after post-statement comments (request [ #20299][pear-20299] )
43594384- Squiz SelfMemberReferenceSniff now works correctly with namespaces
4360- - Tab characters are now encoded in abstract pattern errors messages
4385+ - Tab characters are now encoded in abstract pattern error messages
43614386 - Thanks to [Blaine Schmeisser][@bayleedev] for the patch
4362- - Invalid sniff codes passed to --sniffs now show a friendly error message (request #20313)
4363- - Generic LineLengthSniff now shows a warning if the iconv module is disabled (request #20314)
4387+ - Invalid sniff codes passed to --sniffs now show a friendly error message (request [ #20313][pear-20313] )
4388+ - Generic LineLengthSniff now shows a warning if the iconv module is disabled (request [ #20314][pear-20314] )
43644389- Source report no longer shows errors if category or sniff names ends in an uppercase error
43654390 - Thanks to [Jonathan Marcil][@jmarcil] for the patch
43664391
43674392### Fixed
4368- - Fixed bug #20268 : Incorrect documentation titles in PEAR documentation
4369- - Fixed bug #20296 : new array notion in function comma check fails
4370- - Fixed bug #20307 : PHP_CodeSniffer_Standards_AbstractVariableSniff analyze traits
4371- - Fixed bug #20308 : Squiz.ValidVariableNameSniff - wrong variable usage
4372- - Fixed bug #20309 : Use "member variable" term in sniff "processMemberVar" method
4373- - Fixed bug #20310 : PSR2 does not check for space after function name
4374- - Fixed bug #20322 : Display rules set to type=error even when suppressing warnings
4375- - Fixed bug #20323 : PHPCS tries to load sniffs from hidden directories
4393+ - Fixed bug [#20268][pear-20268] : Incorrect documentation titles in PEAR documentation
4394+ - Fixed bug [#20296][pear-20296] : new array notion in function comma check fails
4395+ - Fixed bug [#20307][pear-20307] : PHP_CodeSniffer_Standards_AbstractVariableSniff analyze traits
4396+ - Fixed bug [#20308][pear-20308] : Squiz.ValidVariableNameSniff - wrong variable usage
4397+ - Fixed bug [#20309][pear-20309] : Use "member variable" term in sniff "processMemberVar" method
4398+ - Fixed bug [#20310][pear-20310] : PSR2 does not check for space after function name
4399+ - Fixed bug [#20322][pear-20322] : Display rules set to type=error even when suppressing warnings
4400+ - Fixed bug [#20323][pear-20323] : PHPCS tries to load sniffs from hidden directories
4401+
4402+ [pear-20268]: https://pear.php.net/bugs/bug.php?id=20268
4403+ [pear-20296]: https://pear.php.net/bugs/bug.php?id=20296
4404+ [pear-20299]: https://pear.php.net/bugs/bug.php?id=20299
4405+ [pear-20307]: https://pear.php.net/bugs/bug.php?id=20307
4406+ [pear-20308]: https://pear.php.net/bugs/bug.php?id=20308
4407+ [pear-20309]: https://pear.php.net/bugs/bug.php?id=20309
4408+ [pear-20310]: https://pear.php.net/bugs/bug.php?id=20310
4409+ [pear-20313]: https://pear.php.net/bugs/bug.php?id=20313
4410+ [pear-20314]: https://pear.php.net/bugs/bug.php?id=20314
4411+ [pear-20322]: https://pear.php.net/bugs/bug.php?id=20322
4412+ [pear-20323]: https://pear.php.net/bugs/bug.php?id=20323
43764413
43774414## [2.0.0a2] - 2014-05-01
43784415### Changed
@@ -4398,7 +4435,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
43984435- PSR1 CamelCapsMethodNameSniff now ignores magic methods
43994436 - Thanks to [Eser Ozvataf][@eser] for the patch
44004437- PSR1 SideEffectsSniff now ignores methods named define()
4401- - PSR1 and PEAR ClassDeclarationSniffs now support traits (request #20208)
4438+ - PSR1 and PEAR ClassDeclarationSniffs now support traits (request [ #20208][pear-20208] )
44024439- PSR2 ControlStructureSpacingSniff now allows newlines before/after parentheses
44034440 - Thanks to [Maurus Cuelenaere][@mcuelenaere] for the patch
44044441- PSR2 ControlStructureSpacingSniff now checks TRY and CATCH statements
@@ -4409,20 +4446,33 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
44094446- Squiz SwitchDeclarationSniff now allows exit() as a breaking statement for case/default
44104447- Squiz ValidVariableNameSniff and Zend ValidVariableNameSniff now ignore additional PHP reserved vars
44114448 - Thanks to Mikuláš Dítě and Adrian Crepaz for the patch
4412- - Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request #20241)
4449+ - Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request [ #20241][pear-20241] )
44134450
44144451### Fixed
4415- - Fixed bug #20200 : Invalid JSON produced with specific error message
4416- - Fixed bug #20204 : Ruleset exclude checks are case sensitive
4417- - Fixed bug #20213 : Invalid error, Inline IF must be declared on single line
4418- - Fixed bug #20225 : array_merge() that takes more than one line generates error
4419- - Fixed bug #20230 : Squiz ControlStructureSpacing sniff assumes specific condition formatting
4420- - Fixed bug #20234 : phpcbf patch command absolute paths
4421- - Fixed bug #20240 : Squiz block comment sniff fails when newline present
4422- - Fixed bug #20247 : The Squiz.WhiteSpace.ControlStructureSpacing sniff and do-while
4452+ - Fixed bug [ #20200][pear-20200] : Invalid JSON produced with specific error message
4453+ - Fixed bug [ #20204][pear-20204] : Ruleset exclude checks are case sensitive
4454+ - Fixed bug [ #20213][pear-20213] : Invalid error, Inline IF must be declared on single line
4455+ - Fixed bug [ #20225][pear-20225] : array_merge() that takes more than one line generates error
4456+ - Fixed bug [ #20230][pear-20230] : Squiz ControlStructureSpacing sniff assumes specific condition formatting
4457+ - Fixed bug [ #20234][pear-20234] : phpcbf patch command absolute paths
4458+ - Fixed bug [ #20240][pear-20240] : Squiz block comment sniff fails when newline present
4459+ - Fixed bug [ #20247][pear-20247] : The Squiz.WhiteSpace.ControlStructureSpacing sniff and do-while
44234460 - Thanks to [Alexander Obuhovich][@aik099] for the patch
4424- - Fixed bug #20248 : The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
4425- - Fixed bug #20252 : Unitialized string offset when package name starts with underscore
4461+ - Fixed bug [#20248][pear-20248] : The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
4462+ - Fixed bug [#20252][pear-20252] : Unitialized string offset when package name starts with underscore
4463+
4464+ [pear-20200]: https://pear.php.net/bugs/bug.php?id=20200
4465+ [pear-20204]: https://pear.php.net/bugs/bug.php?id=20204
4466+ [pear-20208]: https://pear.php.net/bugs/bug.php?id=20208
4467+ [pear-20213]: https://pear.php.net/bugs/bug.php?id=20213
4468+ [pear-20225]: https://pear.php.net/bugs/bug.php?id=20225
4469+ [pear-20230]: https://pear.php.net/bugs/bug.php?id=20230
4470+ [pear-20234]: https://pear.php.net/bugs/bug.php?id=20234
4471+ [pear-20240]: https://pear.php.net/bugs/bug.php?id=20240
4472+ [pear-20241]: https://pear.php.net/bugs/bug.php?id=20241
4473+ [pear-20247]: https://pear.php.net/bugs/bug.php?id=20247
4474+ [pear-20248]: https://pear.php.net/bugs/bug.php?id=20248
4475+ [pear-20252]: https://pear.php.net/bugs/bug.php?id=20252
44264476
44274477## [1.5.3] - 2014-05-01
44284478### Changed
0 commit comments