@@ -4481,27 +4481,39 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
44814481- PSR1 CamelCapsMethodNameSniff now ignores magic methods
44824482 - Thanks to [Eser Ozvataf][@eser] for the patch
44834483- PSR1 SideEffectsSniff now ignores methods named define()
4484- - PSR1 and PEAR ClassDeclarationSniffs now support traits (request #20208)
4484+ - PSR1 and PEAR ClassDeclarationSniffs now support traits (request [ #20208][pear-20208] )
44854485- PSR2 ControlStructureSpacingSniff now allows newlines before/after parentheses
44864486 - Thanks to [Maurus Cuelenaere][@mcuelenaere] for the patch
44874487- Squiz LowercasePHPFunctionsSniff no longer reports errors for namespaced functions
44884488 - Thanks to [Max Galbusera][@maxgalbu] for the patch
44894489- Squiz SwitchDeclarationSniff now allows exit() as a breaking statement for case/default
44904490- Squiz ValidVariableNameSniff and Zend ValidVariableNameSniff now ignore additional PHP reserved vars
44914491 - Thanks to Mikuláš Dítě and Adrian Crepaz for the patch
4492- - Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request #20241)
4492+ - Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request [ #20241][pear-20241] )
44934493
44944494### Fixed
4495- - Fixed bug #20200 : Invalid JSON produced with specific error message
4496- - Fixed bug #20204 : Ruleset exclude checks are case sensitive
4497- - Fixed bug #20213 : Invalid error, Inline IF must be declared on single line
4498- - Fixed bug #20225 : array_merge() that takes more than one line generates error
4499- - Fixed bug #20230 : Squiz ControlStructureSpacing sniff assumes specific condition formatting
4500- - Fixed bug #20240 : Squiz block comment sniff fails when newline present
4501- - Fixed bug #20247 : The Squiz.WhiteSpace.ControlStructureSpacing sniff and do-while
4495+ - Fixed bug [ #20200][pear-20200] : Invalid JSON produced with specific error message
4496+ - Fixed bug [ #20204][pear-20204] : Ruleset exclude checks are case sensitive
4497+ - Fixed bug [ #20213][pear-20213] : Invalid error, Inline IF must be declared on single line
4498+ - Fixed bug [ #20225][pear-20225] : array_merge() that takes more than one line generates error
4499+ - Fixed bug [ #20230][pear-20230] : Squiz ControlStructureSpacing sniff assumes specific condition formatting
4500+ - Fixed bug [ #20240][pear-20240] : Squiz block comment sniff fails when newline present
4501+ - Fixed bug [ #20247][pear-20247] : The Squiz.WhiteSpace.ControlStructureSpacing sniff and do-while
45024502 - Thanks to [Alexander Obuhovich][@aik099] for the patch
4503- - Fixed bug #20248 : The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
4504- - Fixed bug #20252 : Uninitialized string offset when package name starts with underscore
4503+ - Fixed bug [#20248][pear-20248] : The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
4504+ - Fixed bug [#20252][pear-20252] : Uninitialized string offset when package name starts with underscore
4505+
4506+ [pear-20200]: https://pear.php.net/bugs/bug.php?id=20200
4507+ [pear-20204]: https://pear.php.net/bugs/bug.php?id=20204
4508+ [pear-20208]: https://pear.php.net/bugs/bug.php?id=20208
4509+ [pear-20213]: https://pear.php.net/bugs/bug.php?id=20213
4510+ [pear-20225]: https://pear.php.net/bugs/bug.php?id=20225
4511+ [pear-20230]: https://pear.php.net/bugs/bug.php?id=20230
4512+ [pear-20240]: https://pear.php.net/bugs/bug.php?id=20240
4513+ [pear-20241]: https://pear.php.net/bugs/bug.php?id=20241
4514+ [pear-20247]: https://pear.php.net/bugs/bug.php?id=20247
4515+ [pear-20248]: https://pear.php.net/bugs/bug.php?id=20248
4516+ [pear-20252]: https://pear.php.net/bugs/bug.php?id=20252
45054517
45064518## [2.0.0a1] - 2014-02-05
45074519### Changed
@@ -4516,7 +4528,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
45164528 - e.g., arg name="report" value="summary" (print summary report; same as --report=summary)
45174529 - e.g., arg value="sp" (print source and progress information; same as -sp)
45184530 - The -vvv, --sniffs, --standard and -l command line arguments cannot be set in this way
4519- - Sniff process() methods can not optionally return a token to ignore up to
4531+ - Sniff process() methods can now optionally return a token to ignore up to
45204532 - If returned, the sniff will not be executed again until the passed token is reached in the file
45214533 - Useful if you are looking for tokens like T_OPEN_TAG but only want to process the first one
45224534- Removed the comment parser classes and replaced it with a simple comment tokenizer
@@ -4588,10 +4600,15 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
45884600- Generic FixmeSniff and TodoSniff now work correctly with accented characters
45894601
45904602### Fixed
4591- - Fixed bug #20145 : Custom ruleset preferences directory over installed standard
4592- - Fixed bug #20147 : phpcs-svn-pre-commit - no more default error report
4593- - Fixed bug #20151 : Problem handling "if(): ... else: ... endif;" syntax
4594- - Fixed bug #20190 : Invalid regex in Squiz_Sniffs_WhiteSpace_SuperfluousWhitespaceSniff
4603+ - Fixed bug [#20145][pear-20145] : Custom ruleset preferences directory over installed standard
4604+ - Fixed bug [#20147][pear-20147] : phpcs-svn-pre-commit - no more default error report
4605+ - Fixed bug [#20151][pear-20151] : Problem handling "if(): ... else: ... endif;" syntax
4606+ - Fixed bug [#20190][pear-20190] : Invalid regex in Squiz_Sniffs_WhiteSpace_SuperfluousWhitespaceSniff
4607+
4608+ [pear-20145]: https://pear.php.net/bugs/bug.php?id=20145
4609+ [pear-20147]: https://pear.php.net/bugs/bug.php?id=20147
4610+ [pear-20151]: https://pear.php.net/bugs/bug.php?id=20151
4611+ [pear-20190]: https://pear.php.net/bugs/bug.php?id=20190
45954612
45964613## [1.5.1] - 2013-12-12
45974614### Changed
@@ -4610,13 +4627,18 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
46104627- PSR2 ClassDeclarationSniff now allows a list of extended interfaces to be split across multiple lines
46114628- Squiz DoubleQuoteUsageSniff now allows \b in double quoted strings
46124629- Generic ForbiddenFunctionsSniff now ignores object creation
4613- - This is a further fix for bug #20100 : incorrect Function mysql() has been deprecated report
4630+ - This is a further fix for bug [ #20100][pear-20100] : incorrect Function mysql() has been deprecated report
46144631
46154632### Fixed
4616- - Fixed bug #20136 : Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff and Traits
4617- - Fixed bug #20138 : Protected property underscore and camel caps issue (in trait with Zend)
4633+ - Fixed bug [ #20136][pear-20136] : Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff and Traits
4634+ - Fixed bug [ #20138][pear-20138] : Protected property underscore and camel caps issue (in trait with Zend)
46184635 - Thanks to [Gaetan Rousseau][@Naelyth] for the patch
4619- - Fixed bug #20139 : No report file generated on success
4636+ - Fixed bug [#20139][pear-20139] : No report file generated on success
4637+
4638+ [pear-20100]: https://pear.php.net/bugs/bug.php?id=20100
4639+ [pear-20136]: https://pear.php.net/bugs/bug.php?id=20136
4640+ [pear-20138]: https://pear.php.net/bugs/bug.php?id=20138
4641+ [pear-20139]: https://pear.php.net/bugs/bug.php?id=20139
46204642
46214643## [1.5.0] - 2013-11-28
46224644### Changed
@@ -4626,9 +4648,9 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
46264648 - E.g., to ignore comments, override a property using:
46274649 - name="ignoreIndentationTokens" type="array" value="T_COMMENT,T_DOC_COMMENT"
46284650- PSR2 standard now ignores comments when checking indentation rules
4629- - Generic UpperCaseConstantNameSniff no longer reports errors where constants are used (request #20090)
4651+ - Generic UpperCaseConstantNameSniff no longer reports errors where constants are used (request [ #20090][pear-20090] )
46304652 - It still reports errors where constants are defined
4631- - Individual messages can now be excluded in ruleset.xml files using the exclude tag (request #20091)
4653+ - Individual messages can now be excluded in ruleset.xml files using the exclude tag (request [ #20091][pear-20091] )
46324654 - Setting message severity to 0 continues to be supported
46334655- Squiz OperatorSpacingSniff no longer throws errors for the ?: short ternary operator
46344656 - Thanks to [Antoine Musso][@hashar] for the patch
@@ -4641,13 +4663,23 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
46414663 - Thanks to [Maksim Kochkin][@ksimka] for the patch
46424664
46434665### Fixed
4644- - Fixed bug #20093 : Bug with ternary operator token
4645- - Fixed bug #20097 : CLI.php throws error in php 5.2
4646- - Fixed bug #20100 : incorrect Function mysql() has been deprecated report
4647- - Fixed bug #20119 : PHP warning: invalid argument to str_repeat() in SVN blame report with -s
4648- - Fixed bug #20123 : PSR2 complains about an empty second statement in for-loop
4649- - Fixed bug #20131 : PHP errors in svnblame report, if there are files not under version control
4650- - Fixed bug #20133 : Allow "HG: hg_id" as value for @version tag
4666+ - Fixed bug [#20093][pear-20093] : Bug with ternary operator token
4667+ - Fixed bug [#20097][pear-20097] : CLI.php throws error in php 5.2
4668+ - Fixed bug [#20100][pear-20100] : incorrect Function mysql() has been deprecated report
4669+ - Fixed bug [#20119][pear-20119] : PHP warning: invalid argument to str_repeat() in SVN blame report with -s
4670+ - Fixed bug [#20123][pear-20123] : PSR2 complains about an empty second statement in for-loop
4671+ - Fixed bug [#20131][pear-20131] : PHP errors in svnblame report, if there are files not under version control
4672+ - Fixed bug [#20133][pear-20133] : Allow "HG: hg_id" as value for @version tag
4673+
4674+ [pear-20090]: https://pear.php.net/bugs/bug.php?id=20090
4675+ [pear-20091]: https://pear.php.net/bugs/bug.php?id=20091
4676+ [pear-20093]: https://pear.php.net/bugs/bug.php?id=20093
4677+ [pear-20097]: https://pear.php.net/bugs/bug.php?id=20097
4678+ [pear-20100]: https://pear.php.net/bugs/bug.php?id=20100
4679+ [pear-20119]: https://pear.php.net/bugs/bug.php?id=20119
4680+ [pear-20123]: https://pear.php.net/bugs/bug.php?id=20123
4681+ [pear-20131]: https://pear.php.net/bugs/bug.php?id=20131
4682+ [pear-20133]: https://pear.php.net/bugs/bug.php?id=20133
46514683
46524684## [1.4.8] - 2013-11-26
46534685### Changed
0 commit comments