Skip to content

Commit 646f6a9

Browse files
authored
Merge pull request #412 from rodrigoprimo/changelog-improvements-1-5-4
Add links to all issues in the 1.5.5, 2.0.0RC1, 1.5.4 and 2.0.0a2 sections of the changelog
2 parents 7ecc53c + 8c49e73 commit 646f6a9

File tree

1 file changed

+99
-49
lines changed

1 file changed

+99
-49
lines changed

CHANGELOG.md

Lines changed: 99 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -4151,7 +4151,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
41514151
- Improved indented PHP tag support in Generic ScopeIndentSniff
41524152
- Generic CamelCapsFunctionNameSniff now ignores a single leading underscore
41534153
- Thanks to [Alex Slobodiskiy][@xt99] for the patch
4154-
- Standards can now be located within hidden directories (further fix for bug #20323)
4154+
- Standards can now be located within hidden directories (further fix for bug [#20323][pear-20323])
41554155
- Thanks to [Klaus Purer][@klausi] for the patch
41564156
- Added Generic SyntaxSniff to check for syntax errors in PHP files
41574157
- Thanks to [Blaine Schmeisser][@bayleedev] for the contribution
@@ -4161,18 +4161,26 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
41614161
- Generic UpperCaseConstantSniff and LowerCaseConstantSniff now ignore function names
41624162

41634163
### Fixed
4164-
- Fixed bug #248 : FunctionCommentSniff expects ampersand on param name
4165-
- Fixed bug #265 : False positives with type hints in ForbiddenFunctionsSniff
4166-
- Fixed bug #20373 : Inline comment sniff tab handling way
4167-
- Fixed bug #20378 : Report appended to existing file if no errors found in run
4168-
- Fixed bug #20381 : Invalid "Comment closer must be on a new line"
4164+
- Fixed bug [#248][sq-248] : FunctionCommentSniff expects ampersand on param name
4165+
- Fixed bug [#265][sq-265] : False positives with type hints in ForbiddenFunctionsSniff
4166+
- Fixed bug [#20373][pear-20373] : Inline comment sniff tab handling way
4167+
- Fixed bug [#20378][pear-20378] : Report appended to existing file if no errors found in run
4168+
- Fixed bug [#20381][pear-20381] : Invalid "Comment closer must be on a new line"
41694169
- Thanks to [Brad Kent][@bkdotcom] for the patch
4170-
- Fixed bug #20386 : Squiz.Commenting.ClassComment.SpacingBefore thrown if first block comment
4170+
- Fixed bug [#20386][pear-20386] : Squiz.Commenting.ClassComment.SpacingBefore thrown if first block comment
4171+
4172+
[sq-248]: https://github.com/squizlabs/PHP_CodeSniffer/issues/248
4173+
[sq-265]: https://github.com/squizlabs/PHP_CodeSniffer/pull/265
4174+
[pear-20323]: https://pear.php.net/bugs/bug.php?id=20323
4175+
[pear-20373]: https://pear.php.net/bugs/bug.php?id=20373
4176+
[pear-20378]: https://pear.php.net/bugs/bug.php?id=20378
4177+
[pear-20381]: https://pear.php.net/bugs/bug.php?id=20381
4178+
[pear-20386]: https://pear.php.net/bugs/bug.php?id=20386
41714179

41724180
## [2.0.0RC1] - 2014-08-06
41734181
### Changed
41744182
- PHPCBF will now fix incorrect newline characters in a file
4175-
- PHPCBF now exists cleanly when there are no errors to fix
4183+
- PHPCBF now exits cleanly when there are no errors to fix
41764184
- Added phpcbf.bat file for Windows
41774185
- Verbose option no longer errors when using a phar file with a space in the path
41784186
- Fixed a reporting error when using HHVM
@@ -4190,7 +4198,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
41904198
- The filtering component of the --extensions argument is now ignored again when passing filenames
41914199
- Can still be used to specify a custom tokenizer for each extension when passing filenames
41924200
- If no tokenizer is specified, default values will be used for common file extensions
4193-
- Diff report now produces relative paths on Windows, where possible (further fix for bug #20234)
4201+
- Diff report now produces relative paths on Windows, where possible (further fix for bug [#20234][pear-20234])
41944202
- If a token's content has been modified by the tab-width setting, it will now have an orig_content in the tokens array
41954203
- Generic DisallowSpaceIndent and DisallowTabIndent sniffs now check original indent content even when tab-width is set
41964204
- Previously, setting --tab-width would force both to check the indent as spaces
@@ -4214,29 +4222,46 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
42144222
- Thanks to [Ole Martin Handeland][@olemartinorg] for the patch
42154223
- Generic LowerCaseConstantSniff and UpperCaseConstantSniff now ignore namespaces beginning with TRUE/FALSE/NULL
42164224
- Thanks to [Renan Gonçalves][@renan] for the patch
4217-
- Squiz InlineCommentSniff no longer requires a blank line after post-statement comments (request #20299)
4225+
- Squiz InlineCommentSniff no longer requires a blank line after post-statement comments (request [#20299][pear-20299])
42184226
- Squiz SelfMemberReferenceSniff now works correctly with namespaces
42194227
- Squiz FunctionCommentSniff is now more relaxed when checking namespaced type hints
4220-
- Tab characters are now encoded in abstract pattern errors messages
4228+
- Tab characters are now encoded in abstract pattern error messages
42214229
- Thanks to [Blaine Schmeisser][@bayleedev] for the patch
4222-
- Invalid sniff codes passed to --sniffs now show a friendly error message (request #20313)
4223-
- Generic LineLengthSniff now shows a warning if the iconv module is disabled (request #20314)
4230+
- Invalid sniff codes passed to --sniffs now show a friendly error message (request [#20313][pear-20313])
4231+
- Generic LineLengthSniff now shows a warning if the iconv module is disabled (request [#20314][pear-20314])
42244232
- Source report no longer shows errors if category or sniff names ends in an uppercase error
42254233
- Thanks to [Jonathan Marcil][@jmarcil] for the patch
42264234

42274235
### Fixed
4228-
- Fixed bug #20261 : phpcbf has an endless fixing loop
4229-
- Fixed bug #20268 : Incorrect documentation titles in PEAR documentation
4230-
- Fixed bug #20296 : new array notion in function comma check fails
4231-
- Fixed bug #20297 : phar does not work when renamed it to phpcs
4232-
- Fixed bug #20307 : PHP_CodeSniffer_Standards_AbstractVariableSniff analyze traits
4233-
- Fixed bug #20308 : Squiz.ValidVariableNameSniff - wrong variable usage
4234-
- Fixed bug #20309 : Use "member variable" term in sniff "processMemberVar" method
4235-
- Fixed bug #20310 : PSR2 does not check for space after function name
4236-
- Fixed bug #20322 : Display rules set to type=error even when suppressing warnings
4237-
- Fixed bug #20323 : PHPCS tries to load sniffs from hidden directories
4238-
- Fixed bug #20346 : Fixer endless loop with Squiz.CSS sniffs
4239-
- Fixed bug #20355 : No sniffs are registered with PHAR on Windows
4236+
- Fixed bug [#20261][pear-20261] : phpcbf has an endless fixing loop
4237+
- Fixed bug [#20268][pear-20268] : Incorrect documentation titles in PEAR documentation
4238+
- Fixed bug [#20296][pear-20296] : new array notion in function comma check fails
4239+
- Fixed bug [#20297][pear-20297] : phar does not work when renamed it to phpcs
4240+
- Fixed bug [#20307][pear-20307] : PHP_CodeSniffer_Standards_AbstractVariableSniff analyze traits
4241+
- Fixed bug [#20308][pear-20308] : Squiz.ValidVariableNameSniff - wrong variable usage
4242+
- Fixed bug [#20309][pear-20309] : Use "member variable" term in sniff "processMemberVar" method
4243+
- Fixed bug [#20310][pear-20310] : PSR2 does not check for space after function name
4244+
- Fixed bug [#20322][pear-20322] : Display rules set to type=error even when suppressing warnings
4245+
- Fixed bug [#20323][pear-20323] : PHPCS tries to load sniffs from hidden directories
4246+
- Fixed bug [#20346][pear-20346] : Fixer endless loop with Squiz.CSS sniffs
4247+
- Fixed bug [#20355][pear-20355] : No sniffs are registered with PHAR on Windows
4248+
4249+
[pear-20234]: https://pear.php.net/bugs/bug.php?id=20234
4250+
[pear-20261]: https://pear.php.net/bugs/bug.php?id=20261
4251+
[pear-20268]: https://pear.php.net/bugs/bug.php?id=20268
4252+
[pear-20296]: https://pear.php.net/bugs/bug.php?id=20296
4253+
[pear-20297]: https://pear.php.net/bugs/bug.php?id=20297
4254+
[pear-20299]: https://pear.php.net/bugs/bug.php?id=20299
4255+
[pear-20307]: https://pear.php.net/bugs/bug.php?id=20307
4256+
[pear-20308]: https://pear.php.net/bugs/bug.php?id=20308
4257+
[pear-20309]: https://pear.php.net/bugs/bug.php?id=20309
4258+
[pear-20310]: https://pear.php.net/bugs/bug.php?id=20310
4259+
[pear-20313]: https://pear.php.net/bugs/bug.php?id=20313
4260+
[pear-20314]: https://pear.php.net/bugs/bug.php?id=20314
4261+
[pear-20322]: https://pear.php.net/bugs/bug.php?id=20322
4262+
[pear-20323]: https://pear.php.net/bugs/bug.php?id=20323
4263+
[pear-20346]: https://pear.php.net/bugs/bug.php?id=20346
4264+
[pear-20355]: https://pear.php.net/bugs/bug.php?id=20355
42404265

42414266
## [1.5.4] - 2014-08-06
42424267
### Changed
@@ -4253,24 +4278,36 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
42534278
- Thanks to [Ole Martin Handeland][@olemartinorg] for the patch
42544279
- Generic LowerCaseConstantSniff and UpperCaseConstantSniff now ignore namespaces beginning with TRUE/FALSE/NULL
42554280
- Thanks to [Renan Gonçalves][@renan] for the patch
4256-
- Squiz InlineCommentSniff no longer requires a blank line after post-statement comments (request #20299)
4281+
- Squiz InlineCommentSniff no longer requires a blank line after post-statement comments (request [#20299][pear-20299])
42574282
- Squiz SelfMemberReferenceSniff now works correctly with namespaces
4258-
- Tab characters are now encoded in abstract pattern errors messages
4283+
- Tab characters are now encoded in abstract pattern error messages
42594284
- Thanks to [Blaine Schmeisser][@bayleedev] for the patch
4260-
- Invalid sniff codes passed to --sniffs now show a friendly error message (request #20313)
4261-
- Generic LineLengthSniff now shows a warning if the iconv module is disabled (request #20314)
4285+
- Invalid sniff codes passed to --sniffs now show a friendly error message (request [#20313][pear-20313])
4286+
- Generic LineLengthSniff now shows a warning if the iconv module is disabled (request [#20314][pear-20314])
42624287
- Source report no longer shows errors if category or sniff names ends in an uppercase error
42634288
- Thanks to [Jonathan Marcil][@jmarcil] for the patch
42644289

42654290
### Fixed
4266-
- Fixed bug #20268 : Incorrect documentation titles in PEAR documentation
4267-
- Fixed bug #20296 : new array notion in function comma check fails
4268-
- Fixed bug #20307 : PHP_CodeSniffer_Standards_AbstractVariableSniff analyze traits
4269-
- Fixed bug #20308 : Squiz.ValidVariableNameSniff - wrong variable usage
4270-
- Fixed bug #20309 : Use "member variable" term in sniff "processMemberVar" method
4271-
- Fixed bug #20310 : PSR2 does not check for space after function name
4272-
- Fixed bug #20322 : Display rules set to type=error even when suppressing warnings
4273-
- Fixed bug #20323 : PHPCS tries to load sniffs from hidden directories
4291+
- Fixed bug [#20268][pear-20268] : Incorrect documentation titles in PEAR documentation
4292+
- Fixed bug [#20296][pear-20296] : new array notion in function comma check fails
4293+
- Fixed bug [#20307][pear-20307] : PHP_CodeSniffer_Standards_AbstractVariableSniff analyze traits
4294+
- Fixed bug [#20308][pear-20308] : Squiz.ValidVariableNameSniff - wrong variable usage
4295+
- Fixed bug [#20309][pear-20309] : Use "member variable" term in sniff "processMemberVar" method
4296+
- Fixed bug [#20310][pear-20310] : PSR2 does not check for space after function name
4297+
- Fixed bug [#20322][pear-20322] : Display rules set to type=error even when suppressing warnings
4298+
- Fixed bug [#20323][pear-20323] : PHPCS tries to load sniffs from hidden directories
4299+
4300+
[pear-20268]: https://pear.php.net/bugs/bug.php?id=20268
4301+
[pear-20296]: https://pear.php.net/bugs/bug.php?id=20296
4302+
[pear-20299]: https://pear.php.net/bugs/bug.php?id=20299
4303+
[pear-20307]: https://pear.php.net/bugs/bug.php?id=20307
4304+
[pear-20308]: https://pear.php.net/bugs/bug.php?id=20308
4305+
[pear-20309]: https://pear.php.net/bugs/bug.php?id=20309
4306+
[pear-20310]: https://pear.php.net/bugs/bug.php?id=20310
4307+
[pear-20313]: https://pear.php.net/bugs/bug.php?id=20313
4308+
[pear-20314]: https://pear.php.net/bugs/bug.php?id=20314
4309+
[pear-20322]: https://pear.php.net/bugs/bug.php?id=20322
4310+
[pear-20323]: https://pear.php.net/bugs/bug.php?id=20323
42744311

42754312
## [2.0.0a2] - 2014-05-01
42764313
### Changed
@@ -4296,7 +4333,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
42964333
- PSR1 CamelCapsMethodNameSniff now ignores magic methods
42974334
- Thanks to [Eser Ozvataf][@eser] for the patch
42984335
- PSR1 SideEffectsSniff now ignores methods named define()
4299-
- PSR1 and PEAR ClassDeclarationSniffs now support traits (request #20208)
4336+
- PSR1 and PEAR ClassDeclarationSniffs now support traits (request [#20208][pear-20208])
43004337
- PSR2 ControlStructureSpacingSniff now allows newlines before/after parentheses
43014338
- Thanks to [Maurus Cuelenaere][@mcuelenaere] for the patch
43024339
- PSR2 ControlStructureSpacingSniff now checks TRY and CATCH statements
@@ -4307,20 +4344,33 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
43074344
- Squiz SwitchDeclarationSniff now allows exit() as a breaking statement for case/default
43084345
- Squiz ValidVariableNameSniff and Zend ValidVariableNameSniff now ignore additional PHP reserved vars
43094346
- Thanks to Mikuláš Dítě and Adrian Crepaz for the patch
4310-
- Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request #20241)
4347+
- Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request [#20241][pear-20241])
43114348

43124349
### Fixed
4313-
- Fixed bug #20200 : Invalid JSON produced with specific error message
4314-
- Fixed bug #20204 : Ruleset exclude checks are case sensitive
4315-
- Fixed bug #20213 : Invalid error, Inline IF must be declared on single line
4316-
- Fixed bug #20225 : array_merge() that takes more than one line generates error
4317-
- Fixed bug #20230 : Squiz ControlStructureSpacing sniff assumes specific condition formatting
4318-
- Fixed bug #20234 : phpcbf patch command absolute paths
4319-
- Fixed bug #20240 : Squiz block comment sniff fails when newline present
4320-
- Fixed bug #20247 : The Squiz.WhiteSpace.ControlStructureSpacing sniff and do-while
4350+
- Fixed bug [#20200][pear-20200] : Invalid JSON produced with specific error message
4351+
- Fixed bug [#20204][pear-20204] : Ruleset exclude checks are case sensitive
4352+
- Fixed bug [#20213][pear-20213] : Invalid error, Inline IF must be declared on single line
4353+
- Fixed bug [#20225][pear-20225] : array_merge() that takes more than one line generates error
4354+
- Fixed bug [#20230][pear-20230] : Squiz ControlStructureSpacing sniff assumes specific condition formatting
4355+
- Fixed bug [#20234][pear-20234] : phpcbf patch command absolute paths
4356+
- Fixed bug [#20240][pear-20240] : Squiz block comment sniff fails when newline present
4357+
- Fixed bug [#20247][pear-20247] : The Squiz.WhiteSpace.ControlStructureSpacing sniff and do-while
43214358
- Thanks to [Alexander Obuhovich][@aik099] for the patch
4322-
- Fixed bug #20248 : The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
4323-
- Fixed bug #20252 : Unitialized string offset when package name starts with underscore
4359+
- Fixed bug [#20248][pear-20248] : The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
4360+
- Fixed bug [#20252][pear-20252] : Unitialized string offset when package name starts with underscore
4361+
4362+
[pear-20200]: https://pear.php.net/bugs/bug.php?id=20200
4363+
[pear-20204]: https://pear.php.net/bugs/bug.php?id=20204
4364+
[pear-20208]: https://pear.php.net/bugs/bug.php?id=20208
4365+
[pear-20213]: https://pear.php.net/bugs/bug.php?id=20213
4366+
[pear-20225]: https://pear.php.net/bugs/bug.php?id=20225
4367+
[pear-20230]: https://pear.php.net/bugs/bug.php?id=20230
4368+
[pear-20234]: https://pear.php.net/bugs/bug.php?id=20234
4369+
[pear-20240]: https://pear.php.net/bugs/bug.php?id=20240
4370+
[pear-20241]: https://pear.php.net/bugs/bug.php?id=20241
4371+
[pear-20247]: https://pear.php.net/bugs/bug.php?id=20247
4372+
[pear-20248]: https://pear.php.net/bugs/bug.php?id=20248
4373+
[pear-20252]: https://pear.php.net/bugs/bug.php?id=20252
43244374

43254375
## [1.5.3] - 2014-05-01
43264376
### Changed

0 commit comments

Comments
 (0)