@@ -4379,27 +4379,39 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
43794379- PSR1 CamelCapsMethodNameSniff now ignores magic methods
43804380 - Thanks to [ Eser Ozvataf] [ @eser ] for the patch
43814381- PSR1 SideEffectsSniff now ignores methods named define()
4382- - PSR1 and PEAR ClassDeclarationSniffs now support traits (request #20208 )
4382+ - PSR1 and PEAR ClassDeclarationSniffs now support traits (request [ #20208 ] [ pear-20208 ] )
43834383- PSR2 ControlStructureSpacingSniff now allows newlines before/after parentheses
43844384 - Thanks to [ Maurus Cuelenaere] [ @mcuelenaere ] for the patch
43854385- Squiz LowercasePHPFunctionsSniff no longer reports errors for namespaced functions
43864386 - Thanks to [ Max Galbusera] [ @maxgalbu ] for the patch
43874387- Squiz SwitchDeclarationSniff now allows exit() as a breaking statement for case/default
43884388- Squiz ValidVariableNameSniff and Zend ValidVariableNameSniff now ignore additional PHP reserved vars
43894389 - Thanks to Mikuláš Dítě and Adrian Crepaz for the patch
4390- - Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request #20241 )
4390+ - Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request [ #20241 ] [ pear-20241 ] )
43914391
43924392### Fixed
4393- - Fixed bug #20200 : Invalid JSON produced with specific error message
4394- - Fixed bug #20204 : Ruleset exclude checks are case sensitive
4395- - Fixed bug #20213 : Invalid error, Inline IF must be declared on single line
4396- - Fixed bug #20225 : array_merge() that takes more than one line generates error
4397- - Fixed bug #20230 : Squiz ControlStructureSpacing sniff assumes specific condition formatting
4398- - Fixed bug #20240 : Squiz block comment sniff fails when newline present
4399- - Fixed bug #20247 : The Squiz.WhiteSpace.ControlStructureSpacing sniff and do-while
4393+ - Fixed bug [ #20200 ] [ pear-20200 ] : Invalid JSON produced with specific error message
4394+ - Fixed bug [ #20204 ] [ pear-20204 ] : Ruleset exclude checks are case sensitive
4395+ - Fixed bug [ #20213 ] [ pear-20213 ] : Invalid error, Inline IF must be declared on single line
4396+ - Fixed bug [ #20225 ] [ pear-20225 ] : array_merge() that takes more than one line generates error
4397+ - Fixed bug [ #20230 ] [ pear-20230 ] : Squiz ControlStructureSpacing sniff assumes specific condition formatting
4398+ - Fixed bug [ #20240 ] [ pear-20240 ] : Squiz block comment sniff fails when newline present
4399+ - Fixed bug [ #20247 ] [ pear-20247 ] : The Squiz.WhiteSpace.ControlStructureSpacing sniff and do-while
44004400 - Thanks to [ Alexander Obuhovich] [ @aik099 ] for the patch
4401- - Fixed bug #20248 : The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
4402- - Fixed bug #20252 : Uninitialized string offset when package name starts with underscore
4401+ - Fixed bug [ #20248 ] [ pear-20248 ] : The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
4402+ - Fixed bug [ #20252 ] [ pear-20252 ] : Uninitialized string offset when package name starts with underscore
4403+
4404+ [ pear-20200 ] : https://pear.php.net/bugs/bug.php?id=20200
4405+ [ pear-20204 ] : https://pear.php.net/bugs/bug.php?id=20204
4406+ [ pear-20208 ] : https://pear.php.net/bugs/bug.php?id=20208
4407+ [ pear-20213 ] : https://pear.php.net/bugs/bug.php?id=20213
4408+ [ pear-20225 ] : https://pear.php.net/bugs/bug.php?id=20225
4409+ [ pear-20230 ] : https://pear.php.net/bugs/bug.php?id=20230
4410+ [ pear-20240 ] : https://pear.php.net/bugs/bug.php?id=20240
4411+ [ pear-20241 ] : https://pear.php.net/bugs/bug.php?id=20241
4412+ [ pear-20247 ] : https://pear.php.net/bugs/bug.php?id=20247
4413+ [ pear-20248 ] : https://pear.php.net/bugs/bug.php?id=20248
4414+ [ pear-20252 ] : https://pear.php.net/bugs/bug.php?id=20252
44034415
44044416## [ 2.0.0a1] - 2014-02-05
44054417### Changed
@@ -4414,7 +4426,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
44144426 - e.g., arg name="report" value="summary" (print summary report; same as --report=summary)
44154427 - e.g., arg value="sp" (print source and progress information; same as -sp)
44164428 - The -vvv, --sniffs, --standard and -l command line arguments cannot be set in this way
4417- - Sniff process() methods can not optionally return a token to ignore up to
4429+ - Sniff process() methods can now optionally return a token to ignore up to
44184430 - If returned, the sniff will not be executed again until the passed token is reached in the file
44194431 - Useful if you are looking for tokens like T_OPEN_TAG but only want to process the first one
44204432- Removed the comment parser classes and replaced it with a simple comment tokenizer
@@ -4486,10 +4498,15 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
44864498- Generic FixmeSniff and TodoSniff now work correctly with accented characters
44874499
44884500### Fixed
4489- - Fixed bug #20145 : Custom ruleset preferences directory over installed standard
4490- - Fixed bug #20147 : phpcs-svn-pre-commit - no more default error report
4491- - Fixed bug #20151 : Problem handling "if(): ... else: ... endif;" syntax
4492- - Fixed bug #20190 : Invalid regex in Squiz_Sniffs_WhiteSpace_SuperfluousWhitespaceSniff
4501+ - Fixed bug [ #20145 ] [ pear-20145 ] : Custom ruleset preferences directory over installed standard
4502+ - Fixed bug [ #20147 ] [ pear-20147 ] : phpcs-svn-pre-commit - no more default error report
4503+ - Fixed bug [ #20151 ] [ pear-20151 ] : Problem handling "if(): ... else: ... endif;" syntax
4504+ - Fixed bug [ #20190 ] [ pear-20190 ] : Invalid regex in Squiz_Sniffs_WhiteSpace_SuperfluousWhitespaceSniff
4505+
4506+ [ pear-20145 ] : https://pear.php.net/bugs/bug.php?id=20145
4507+ [ pear-20147 ] : https://pear.php.net/bugs/bug.php?id=20147
4508+ [ pear-20151 ] : https://pear.php.net/bugs/bug.php?id=20151
4509+ [ pear-20190 ] : https://pear.php.net/bugs/bug.php?id=20190
44934510
44944511## [ 1.5.1] - 2013-12-12
44954512### Changed
@@ -4508,13 +4525,18 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
45084525- PSR2 ClassDeclarationSniff now allows a list of extended interfaces to be split across multiple lines
45094526- Squiz DoubleQuoteUsageSniff now allows \b in double quoted strings
45104527- Generic ForbiddenFunctionsSniff now ignores object creation
4511- - This is a further fix for bug #20100 : incorrect Function mysql() has been deprecated report
4528+ - This is a further fix for bug [ #20100 ] [ pear-20100 ] : incorrect Function mysql() has been deprecated report
45124529
45134530### Fixed
4514- - Fixed bug #20136 : Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff and Traits
4515- - Fixed bug #20138 : Protected property underscore and camel caps issue (in trait with Zend)
4531+ - Fixed bug [ #20136 ] [ pear-20136 ] : Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff and Traits
4532+ - Fixed bug [ #20138 ] [ pear-20138 ] : Protected property underscore and camel caps issue (in trait with Zend)
45164533 - Thanks to [ Gaetan Rousseau] [ @Naelyth ] for the patch
4517- - Fixed bug #20139 : No report file generated on success
4534+ - Fixed bug [ #20139 ] [ pear-20139 ] : No report file generated on success
4535+
4536+ [ pear-20100 ] : https://pear.php.net/bugs/bug.php?id=20100
4537+ [ pear-20136 ] : https://pear.php.net/bugs/bug.php?id=20136
4538+ [ pear-20138 ] : https://pear.php.net/bugs/bug.php?id=20138
4539+ [ pear-20139 ] : https://pear.php.net/bugs/bug.php?id=20139
45184540
45194541## [ 1.5.0] - 2013-11-28
45204542### Changed
@@ -4524,9 +4546,9 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
45244546 - E.g., to ignore comments, override a property using:
45254547 - name="ignoreIndentationTokens" type="array" value="T_COMMENT,T_DOC_COMMENT"
45264548- PSR2 standard now ignores comments when checking indentation rules
4527- - Generic UpperCaseConstantNameSniff no longer reports errors where constants are used (request #20090 )
4549+ - Generic UpperCaseConstantNameSniff no longer reports errors where constants are used (request [ #20090 ] [ pear-20090 ] )
45284550 - It still reports errors where constants are defined
4529- - Individual messages can now be excluded in ruleset.xml files using the exclude tag (request #20091 )
4551+ - Individual messages can now be excluded in ruleset.xml files using the exclude tag (request [ #20091 ] [ pear-20091 ] )
45304552 - Setting message severity to 0 continues to be supported
45314553- Squiz OperatorSpacingSniff no longer throws errors for the ?: short ternary operator
45324554 - Thanks to [ Antoine Musso] [ @hashar ] for the patch
@@ -4539,13 +4561,23 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
45394561 - Thanks to [ Maksim Kochkin] [ @ksimka ] for the patch
45404562
45414563### Fixed
4542- - Fixed bug #20093 : Bug with ternary operator token
4543- - Fixed bug #20097 : CLI.php throws error in php 5.2
4544- - Fixed bug #20100 : incorrect Function mysql() has been deprecated report
4545- - Fixed bug #20119 : PHP warning: invalid argument to str_repeat() in SVN blame report with -s
4546- - Fixed bug #20123 : PSR2 complains about an empty second statement in for-loop
4547- - Fixed bug #20131 : PHP errors in svnblame report, if there are files not under version control
4548- - Fixed bug #20133 : Allow "HG: hg_id" as value for @version tag
4564+ - Fixed bug [ #20093 ] [ pear-20093 ] : Bug with ternary operator token
4565+ - Fixed bug [ #20097 ] [ pear-20097 ] : CLI.php throws error in php 5.2
4566+ - Fixed bug [ #20100 ] [ pear-20100 ] : incorrect Function mysql() has been deprecated report
4567+ - Fixed bug [ #20119 ] [ pear-20119 ] : PHP warning: invalid argument to str_repeat() in SVN blame report with -s
4568+ - Fixed bug [ #20123 ] [ pear-20123 ] : PSR2 complains about an empty second statement in for-loop
4569+ - Fixed bug [ #20131 ] [ pear-20131 ] : PHP errors in svnblame report, if there are files not under version control
4570+ - Fixed bug [ #20133 ] [ pear-20133 ] : Allow "HG: hg_id" as value for @version tag
4571+
4572+ [ pear-20090 ] : https://pear.php.net/bugs/bug.php?id=20090
4573+ [ pear-20091 ] : https://pear.php.net/bugs/bug.php?id=20091
4574+ [ pear-20093 ] : https://pear.php.net/bugs/bug.php?id=20093
4575+ [ pear-20097 ] : https://pear.php.net/bugs/bug.php?id=20097
4576+ [ pear-20100 ] : https://pear.php.net/bugs/bug.php?id=20100
4577+ [ pear-20119 ] : https://pear.php.net/bugs/bug.php?id=20119
4578+ [ pear-20123 ] : https://pear.php.net/bugs/bug.php?id=20123
4579+ [ pear-20131 ] : https://pear.php.net/bugs/bug.php?id=20131
4580+ [ pear-20133 ] : https://pear.php.net/bugs/bug.php?id=20133
45494581
45504582## [ 1.4.8] - 2013-11-26
45514583### Changed
0 commit comments