Skip to content

Commit f68db3a

Browse files
committed
Add links to all issues in the 1.5.3, 1.5.2, 1.5.1 and 1.5.0 sections of the changelog
Also fixes a typo
1 parent 8b8ef25 commit f68db3a

File tree

1 file changed

+61
-29
lines changed

1 file changed

+61
-29
lines changed

CHANGELOG.md

Lines changed: 61 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4249,27 +4249,39 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
42494249
- PSR1 CamelCapsMethodNameSniff now ignores magic methods
42504250
- Thanks to [Eser Ozvataf][@eser] for the patch
42514251
- PSR1 SideEffectsSniff now ignores methods named define()
4252-
- PSR1 and PEAR ClassDeclarationSniffs now support traits (request #20208)
4252+
- PSR1 and PEAR ClassDeclarationSniffs now support traits (request [#20208][pear-20208])
42534253
- PSR2 ControlStructureSpacingSniff now allows newlines before/after parentheses
42544254
- Thanks to [Maurus Cuelenaere][@mcuelenaere] for the patch
42554255
- Squiz LowercasePHPFunctionsSniff no longer reports errors for namespaced functions
42564256
- Thanks to [Max Galbusera][@maxgalbu] for the patch
42574257
- Squiz SwitchDeclarationSniff now allows exit() as a breaking statement for case/default
42584258
- Squiz ValidVariableNameSniff and Zend ValidVariableNameSniff now ignore additional PHP reserved vars
42594259
- Thanks to Mikuláš Dítě and Adrian Crepaz for the patch
4260-
- Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request #20241)
4260+
- Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request [#20241][pear-20241])
42614261

42624262
### Fixed
4263-
- Fixed bug #20200 : Invalid JSON produced with specific error message
4264-
- Fixed bug #20204 : Ruleset exclude checks are case sensitive
4265-
- Fixed bug #20213 : Invalid error, Inline IF must be declared on single line
4266-
- Fixed bug #20225 : array_merge() that takes more than one line generates error
4267-
- Fixed bug #20230 : Squiz ControlStructureSpacing sniff assumes specific condition formatting
4268-
- Fixed bug #20240 : Squiz block comment sniff fails when newline present
4269-
- Fixed bug #20247 : The Squiz.WhiteSpace.ControlStructureSpacing sniff and do-while
4263+
- Fixed bug [#20200][pear-20200] : Invalid JSON produced with specific error message
4264+
- Fixed bug [#20204][pear-20204] : Ruleset exclude checks are case sensitive
4265+
- Fixed bug [#20213][pear-20213] : Invalid error, Inline IF must be declared on single line
4266+
- Fixed bug [#20225][pear-20225] : array_merge() that takes more than one line generates error
4267+
- Fixed bug [#20230][pear-20230] : Squiz ControlStructureSpacing sniff assumes specific condition formatting
4268+
- Fixed bug [#20240][pear-20240] : Squiz block comment sniff fails when newline present
4269+
- Fixed bug [#20247][pear-20247] : The Squiz.WhiteSpace.ControlStructureSpacing sniff and do-while
42704270
- Thanks to [Alexander Obuhovich][@aik099] for the patch
4271-
- Fixed bug #20248 : The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
4272-
- Fixed bug #20252 : Uninitialized string offset when package name starts with underscore
4271+
- Fixed bug [#20248][pear-20248] : The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
4272+
- Fixed bug [#20252][pear-20252] : Uninitialized string offset when package name starts with underscore
4273+
4274+
[pear-20200]: https://pear.php.net/bugs/bug.php?id=20200
4275+
[pear-20204]: https://pear.php.net/bugs/bug.php?id=20204
4276+
[pear-20208]: https://pear.php.net/bugs/bug.php?id=20208
4277+
[pear-20213]: https://pear.php.net/bugs/bug.php?id=20213
4278+
[pear-20225]: https://pear.php.net/bugs/bug.php?id=20225
4279+
[pear-20230]: https://pear.php.net/bugs/bug.php?id=20230
4280+
[pear-20240]: https://pear.php.net/bugs/bug.php?id=20240
4281+
[pear-20241]: https://pear.php.net/bugs/bug.php?id=20241
4282+
[pear-20247]: https://pear.php.net/bugs/bug.php?id=20247
4283+
[pear-20248]: https://pear.php.net/bugs/bug.php?id=20248
4284+
[pear-20252]: https://pear.php.net/bugs/bug.php?id=20252
42734285

42744286
## [2.0.0a1] - 2014-02-05
42754287
### Changed
@@ -4284,7 +4296,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
42844296
- e.g., arg name="report" value="summary" (print summary report; same as --report=summary)
42854297
- e.g., arg value="sp" (print source and progress information; same as -sp)
42864298
- The -vvv, --sniffs, --standard and -l command line arguments cannot be set in this way
4287-
- Sniff process() methods can not optionally return a token to ignore up to
4299+
- Sniff process() methods can now optionally return a token to ignore up to
42884300
- If returned, the sniff will not be executed again until the passed token is reached in the file
42894301
- Useful if you are looking for tokens like T_OPEN_TAG but only want to process the first one
42904302
- Removed the comment parser classes and replaced it with a simple comment tokenizer
@@ -4356,10 +4368,15 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
43564368
- Generic FixmeSniff and TodoSniff now work correctly with accented characters
43574369

43584370
### Fixed
4359-
- Fixed bug #20145 : Custom ruleset preferences directory over installed standard
4360-
- Fixed bug #20147 : phpcs-svn-pre-commit - no more default error report
4361-
- Fixed bug #20151 : Problem handling "if(): ... else: ... endif;" syntax
4362-
- Fixed bug #20190 : Invalid regex in Squiz_Sniffs_WhiteSpace_SuperfluousWhitespaceSniff
4371+
- Fixed bug [#20145][pear-20145] : Custom ruleset preferences directory over installed standard
4372+
- Fixed bug [#20147][pear-20147] : phpcs-svn-pre-commit - no more default error report
4373+
- Fixed bug [#20151][pear-20151] : Problem handling "if(): ... else: ... endif;" syntax
4374+
- Fixed bug [#20190][pear-20190] : Invalid regex in Squiz_Sniffs_WhiteSpace_SuperfluousWhitespaceSniff
4375+
4376+
[pear-20145]: https://pear.php.net/bugs/bug.php?id=20145
4377+
[pear-20147]: https://pear.php.net/bugs/bug.php?id=20147
4378+
[pear-20151]: https://pear.php.net/bugs/bug.php?id=20151
4379+
[pear-20190]: https://pear.php.net/bugs/bug.php?id=20190
43634380

43644381
## [1.5.1] - 2013-12-12
43654382
### Changed
@@ -4378,13 +4395,18 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
43784395
- PSR2 ClassDeclarationSniff now allows a list of extended interfaces to be split across multiple lines
43794396
- Squiz DoubleQuoteUsageSniff now allows \b in double quoted strings
43804397
- Generic ForbiddenFunctionsSniff now ignores object creation
4381-
- This is a further fix for bug #20100 : incorrect Function mysql() has been deprecated report
4398+
- This is a further fix for bug [#20100][pear-20100] : incorrect Function mysql() has been deprecated report
43824399

43834400
### Fixed
4384-
- Fixed bug #20136 : Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff and Traits
4385-
- Fixed bug #20138 : Protected property underscore and camel caps issue (in trait with Zend)
4401+
- Fixed bug [#20136][pear-20136] : Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff and Traits
4402+
- Fixed bug [#20138][pear-20138] : Protected property underscore and camel caps issue (in trait with Zend)
43864403
- Thanks to [Gaetan Rousseau][@Naelyth] for the patch
4387-
- Fixed bug #20139 : No report file generated on success
4404+
- Fixed bug [#20139][pear-20139] : No report file generated on success
4405+
4406+
[pear-20100]: https://pear.php.net/bugs/bug.php?id=20100
4407+
[pear-20136]: https://pear.php.net/bugs/bug.php?id=20136
4408+
[pear-20138]: https://pear.php.net/bugs/bug.php?id=20138
4409+
[pear-20139]: https://pear.php.net/bugs/bug.php?id=20139
43884410

43894411
## [1.5.0] - 2013-11-28
43904412
### Changed
@@ -4394,9 +4416,9 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
43944416
- E.g., to ignore comments, override a property using:
43954417
- name="ignoreIndentationTokens" type="array" value="T_COMMENT,T_DOC_COMMENT"
43964418
- PSR2 standard now ignores comments when checking indentation rules
4397-
- Generic UpperCaseConstantNameSniff no longer reports errors where constants are used (request #20090)
4419+
- Generic UpperCaseConstantNameSniff no longer reports errors where constants are used (request [#20090][pear-20090])
43984420
- It still reports errors where constants are defined
4399-
- Individual messages can now be excluded in ruleset.xml files using the exclude tag (request #20091)
4421+
- Individual messages can now be excluded in ruleset.xml files using the exclude tag (request [#20091][pear-20091])
44004422
- Setting message severity to 0 continues to be supported
44014423
- Squiz OperatorSpacingSniff no longer throws errors for the ?: short ternary operator
44024424
- Thanks to [Antoine Musso][@hashar] for the patch
@@ -4409,13 +4431,23 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
44094431
- Thanks to [Maksim Kochkin][@ksimka] for the patch
44104432

44114433
### Fixed
4412-
- Fixed bug #20093 : Bug with ternary operator token
4413-
- Fixed bug #20097 : CLI.php throws error in php 5.2
4414-
- Fixed bug #20100 : incorrect Function mysql() has been deprecated report
4415-
- Fixed bug #20119 : PHP warning: invalid argument to str_repeat() in SVN blame report with -s
4416-
- Fixed bug #20123 : PSR2 complains about an empty second statement in for-loop
4417-
- Fixed bug #20131 : PHP errors in svnblame report, if there are files not under version control
4418-
- Fixed bug #20133 : Allow "HG: hg_id" as value for @version tag
4434+
- Fixed bug [#20093][pear-20093] : Bug with ternary operator token
4435+
- Fixed bug [#20097][pear-20097] : CLI.php throws error in php 5.2
4436+
- Fixed bug [#20100][pear-20100] : incorrect Function mysql() has been deprecated report
4437+
- Fixed bug [#20119][pear-20119] : PHP warning: invalid argument to str_repeat() in SVN blame report with -s
4438+
- Fixed bug [#20123][pear-20123] : PSR2 complains about an empty second statement in for-loop
4439+
- Fixed bug [#20131][pear-20131] : PHP errors in svnblame report, if there are files not under version control
4440+
- Fixed bug [#20133][pear-20133] : Allow "HG: hg_id" as value for @version tag
4441+
4442+
[pear-20090]: https://pear.php.net/bugs/bug.php?id=20090
4443+
[pear-20091]: https://pear.php.net/bugs/bug.php?id=20091
4444+
[pear-20093]: https://pear.php.net/bugs/bug.php?id=20093
4445+
[pear-20097]: https://pear.php.net/bugs/bug.php?id=20097
4446+
[pear-20100]: https://pear.php.net/bugs/bug.php?id=20100
4447+
[pear-20119]: https://pear.php.net/bugs/bug.php?id=20119
4448+
[pear-20123]: https://pear.php.net/bugs/bug.php?id=20123
4449+
[pear-20131]: https://pear.php.net/bugs/bug.php?id=20131
4450+
[pear-20133]: https://pear.php.net/bugs/bug.php?id=20133
44194451

44204452
## [1.4.8] - 2013-11-26
44214453
### Changed

0 commit comments

Comments
 (0)