Skip to content

Commit 8c49e73

Browse files
committed
Add links to all issues in the 1.5.5, 2.0.0RC1, 1.5.4 and 2.0.0a2 sections of the changelog
Also fixes a few typos
1 parent 8b8ef25 commit 8c49e73

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
@@ -4071,7 +4071,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
40714071
- Improved indented PHP tag support in Generic ScopeIndentSniff
40724072
- Generic CamelCapsFunctionNameSniff now ignores a single leading underscore
40734073
- Thanks to [Alex Slobodiskiy][@xt99] for the patch
4074-
- Standards can now be located within hidden directories (further fix for bug #20323)
4074+
- Standards can now be located within hidden directories (further fix for bug [#20323][pear-20323])
40754075
- Thanks to [Klaus Purer][@klausi] for the patch
40764076
- Added Generic SyntaxSniff to check for syntax errors in PHP files
40774077
- Thanks to [Blaine Schmeisser][@bayleedev] for the contribution
@@ -4081,18 +4081,26 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
40814081
- Generic UpperCaseConstantSniff and LowerCaseConstantSniff now ignore function names
40824082

40834083
### Fixed
4084-
- Fixed bug #248 : FunctionCommentSniff expects ampersand on param name
4085-
- Fixed bug #265 : False positives with type hints in ForbiddenFunctionsSniff
4086-
- Fixed bug #20373 : Inline comment sniff tab handling way
4087-
- Fixed bug #20378 : Report appended to existing file if no errors found in run
4088-
- Fixed bug #20381 : Invalid "Comment closer must be on a new line"
4084+
- Fixed bug [#248][sq-248] : FunctionCommentSniff expects ampersand on param name
4085+
- Fixed bug [#265][sq-265] : False positives with type hints in ForbiddenFunctionsSniff
4086+
- Fixed bug [#20373][pear-20373] : Inline comment sniff tab handling way
4087+
- Fixed bug [#20378][pear-20378] : Report appended to existing file if no errors found in run
4088+
- Fixed bug [#20381][pear-20381] : Invalid "Comment closer must be on a new line"
40894089
- Thanks to [Brad Kent][@bkdotcom] for the patch
4090-
- Fixed bug #20386 : Squiz.Commenting.ClassComment.SpacingBefore thrown if first block comment
4090+
- Fixed bug [#20386][pear-20386] : Squiz.Commenting.ClassComment.SpacingBefore thrown if first block comment
4091+
4092+
[sq-248]: https://github.com/squizlabs/PHP_CodeSniffer/issues/248
4093+
[sq-265]: https://github.com/squizlabs/PHP_CodeSniffer/pull/265
4094+
[pear-20323]: https://pear.php.net/bugs/bug.php?id=20323
4095+
[pear-20373]: https://pear.php.net/bugs/bug.php?id=20373
4096+
[pear-20378]: https://pear.php.net/bugs/bug.php?id=20378
4097+
[pear-20381]: https://pear.php.net/bugs/bug.php?id=20381
4098+
[pear-20386]: https://pear.php.net/bugs/bug.php?id=20386
40914099

40924100
## [2.0.0RC1] - 2014-08-06
40934101
### Changed
40944102
- PHPCBF will now fix incorrect newline characters in a file
4095-
- PHPCBF now exists cleanly when there are no errors to fix
4103+
- PHPCBF now exits cleanly when there are no errors to fix
40964104
- Added phpcbf.bat file for Windows
40974105
- Verbose option no longer errors when using a phar file with a space in the path
40984106
- Fixed a reporting error when using HHVM
@@ -4110,7 +4118,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
41104118
- The filtering component of the --extensions argument is now ignored again when passing filenames
41114119
- Can still be used to specify a custom tokenizer for each extension when passing filenames
41124120
- If no tokenizer is specified, default values will be used for common file extensions
4113-
- Diff report now produces relative paths on Windows, where possible (further fix for bug #20234)
4121+
- Diff report now produces relative paths on Windows, where possible (further fix for bug [#20234][pear-20234])
41144122
- If a token's content has been modified by the tab-width setting, it will now have an orig_content in the tokens array
41154123
- Generic DisallowSpaceIndent and DisallowTabIndent sniffs now check original indent content even when tab-width is set
41164124
- Previously, setting --tab-width would force both to check the indent as spaces
@@ -4134,29 +4142,46 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
41344142
- Thanks to [Ole Martin Handeland][@olemartinorg] for the patch
41354143
- Generic LowerCaseConstantSniff and UpperCaseConstantSniff now ignore namespaces beginning with TRUE/FALSE/NULL
41364144
- Thanks to [Renan Gonçalves][@renan] for the patch
4137-
- Squiz InlineCommentSniff no longer requires a blank line after post-statement comments (request #20299)
4145+
- Squiz InlineCommentSniff no longer requires a blank line after post-statement comments (request [#20299][pear-20299])
41384146
- Squiz SelfMemberReferenceSniff now works correctly with namespaces
41394147
- Squiz FunctionCommentSniff is now more relaxed when checking namespaced type hints
4140-
- Tab characters are now encoded in abstract pattern errors messages
4148+
- Tab characters are now encoded in abstract pattern error messages
41414149
- Thanks to [Blaine Schmeisser][@bayleedev] for the patch
4142-
- Invalid sniff codes passed to --sniffs now show a friendly error message (request #20313)
4143-
- Generic LineLengthSniff now shows a warning if the iconv module is disabled (request #20314)
4150+
- Invalid sniff codes passed to --sniffs now show a friendly error message (request [#20313][pear-20313])
4151+
- Generic LineLengthSniff now shows a warning if the iconv module is disabled (request [#20314][pear-20314])
41444152
- Source report no longer shows errors if category or sniff names ends in an uppercase error
41454153
- Thanks to [Jonathan Marcil][@jmarcil] for the patch
41464154

41474155
### Fixed
4148-
- Fixed bug #20261 : phpcbf has an endless fixing loop
4149-
- Fixed bug #20268 : Incorrect documentation titles in PEAR documentation
4150-
- Fixed bug #20296 : new array notion in function comma check fails
4151-
- Fixed bug #20297 : phar does not work when renamed it to phpcs
4152-
- Fixed bug #20307 : PHP_CodeSniffer_Standards_AbstractVariableSniff analyze traits
4153-
- Fixed bug #20308 : Squiz.ValidVariableNameSniff - wrong variable usage
4154-
- Fixed bug #20309 : Use "member variable" term in sniff "processMemberVar" method
4155-
- Fixed bug #20310 : PSR2 does not check for space after function name
4156-
- Fixed bug #20322 : Display rules set to type=error even when suppressing warnings
4157-
- Fixed bug #20323 : PHPCS tries to load sniffs from hidden directories
4158-
- Fixed bug #20346 : Fixer endless loop with Squiz.CSS sniffs
4159-
- Fixed bug #20355 : No sniffs are registered with PHAR on Windows
4156+
- Fixed bug [#20261][pear-20261] : phpcbf has an endless fixing loop
4157+
- Fixed bug [#20268][pear-20268] : Incorrect documentation titles in PEAR documentation
4158+
- Fixed bug [#20296][pear-20296] : new array notion in function comma check fails
4159+
- Fixed bug [#20297][pear-20297] : phar does not work when renamed it to phpcs
4160+
- Fixed bug [#20307][pear-20307] : PHP_CodeSniffer_Standards_AbstractVariableSniff analyze traits
4161+
- Fixed bug [#20308][pear-20308] : Squiz.ValidVariableNameSniff - wrong variable usage
4162+
- Fixed bug [#20309][pear-20309] : Use "member variable" term in sniff "processMemberVar" method
4163+
- Fixed bug [#20310][pear-20310] : PSR2 does not check for space after function name
4164+
- Fixed bug [#20322][pear-20322] : Display rules set to type=error even when suppressing warnings
4165+
- Fixed bug [#20323][pear-20323] : PHPCS tries to load sniffs from hidden directories
4166+
- Fixed bug [#20346][pear-20346] : Fixer endless loop with Squiz.CSS sniffs
4167+
- Fixed bug [#20355][pear-20355] : No sniffs are registered with PHAR on Windows
4168+
4169+
[pear-20234]: https://pear.php.net/bugs/bug.php?id=20234
4170+
[pear-20261]: https://pear.php.net/bugs/bug.php?id=20261
4171+
[pear-20268]: https://pear.php.net/bugs/bug.php?id=20268
4172+
[pear-20296]: https://pear.php.net/bugs/bug.php?id=20296
4173+
[pear-20297]: https://pear.php.net/bugs/bug.php?id=20297
4174+
[pear-20299]: https://pear.php.net/bugs/bug.php?id=20299
4175+
[pear-20307]: https://pear.php.net/bugs/bug.php?id=20307
4176+
[pear-20308]: https://pear.php.net/bugs/bug.php?id=20308
4177+
[pear-20309]: https://pear.php.net/bugs/bug.php?id=20309
4178+
[pear-20310]: https://pear.php.net/bugs/bug.php?id=20310
4179+
[pear-20313]: https://pear.php.net/bugs/bug.php?id=20313
4180+
[pear-20314]: https://pear.php.net/bugs/bug.php?id=20314
4181+
[pear-20322]: https://pear.php.net/bugs/bug.php?id=20322
4182+
[pear-20323]: https://pear.php.net/bugs/bug.php?id=20323
4183+
[pear-20346]: https://pear.php.net/bugs/bug.php?id=20346
4184+
[pear-20355]: https://pear.php.net/bugs/bug.php?id=20355
41604185

41614186
## [1.5.4] - 2014-08-06
41624187
### Changed
@@ -4173,24 +4198,36 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
41734198
- Thanks to [Ole Martin Handeland][@olemartinorg] for the patch
41744199
- Generic LowerCaseConstantSniff and UpperCaseConstantSniff now ignore namespaces beginning with TRUE/FALSE/NULL
41754200
- Thanks to [Renan Gonçalves][@renan] for the patch
4176-
- Squiz InlineCommentSniff no longer requires a blank line after post-statement comments (request #20299)
4201+
- Squiz InlineCommentSniff no longer requires a blank line after post-statement comments (request [#20299][pear-20299])
41774202
- Squiz SelfMemberReferenceSniff now works correctly with namespaces
4178-
- Tab characters are now encoded in abstract pattern errors messages
4203+
- Tab characters are now encoded in abstract pattern error messages
41794204
- Thanks to [Blaine Schmeisser][@bayleedev] for the patch
4180-
- Invalid sniff codes passed to --sniffs now show a friendly error message (request #20313)
4181-
- Generic LineLengthSniff now shows a warning if the iconv module is disabled (request #20314)
4205+
- Invalid sniff codes passed to --sniffs now show a friendly error message (request [#20313][pear-20313])
4206+
- Generic LineLengthSniff now shows a warning if the iconv module is disabled (request [#20314][pear-20314])
41824207
- Source report no longer shows errors if category or sniff names ends in an uppercase error
41834208
- Thanks to [Jonathan Marcil][@jmarcil] for the patch
41844209

41854210
### Fixed
4186-
- Fixed bug #20268 : Incorrect documentation titles in PEAR documentation
4187-
- Fixed bug #20296 : new array notion in function comma check fails
4188-
- Fixed bug #20307 : PHP_CodeSniffer_Standards_AbstractVariableSniff analyze traits
4189-
- Fixed bug #20308 : Squiz.ValidVariableNameSniff - wrong variable usage
4190-
- Fixed bug #20309 : Use "member variable" term in sniff "processMemberVar" method
4191-
- Fixed bug #20310 : PSR2 does not check for space after function name
4192-
- Fixed bug #20322 : Display rules set to type=error even when suppressing warnings
4193-
- Fixed bug #20323 : PHPCS tries to load sniffs from hidden directories
4211+
- Fixed bug [#20268][pear-20268] : Incorrect documentation titles in PEAR documentation
4212+
- Fixed bug [#20296][pear-20296] : new array notion in function comma check fails
4213+
- Fixed bug [#20307][pear-20307] : PHP_CodeSniffer_Standards_AbstractVariableSniff analyze traits
4214+
- Fixed bug [#20308][pear-20308] : Squiz.ValidVariableNameSniff - wrong variable usage
4215+
- Fixed bug [#20309][pear-20309] : Use "member variable" term in sniff "processMemberVar" method
4216+
- Fixed bug [#20310][pear-20310] : PSR2 does not check for space after function name
4217+
- Fixed bug [#20322][pear-20322] : Display rules set to type=error even when suppressing warnings
4218+
- Fixed bug [#20323][pear-20323] : PHPCS tries to load sniffs from hidden directories
4219+
4220+
[pear-20268]: https://pear.php.net/bugs/bug.php?id=20268
4221+
[pear-20296]: https://pear.php.net/bugs/bug.php?id=20296
4222+
[pear-20299]: https://pear.php.net/bugs/bug.php?id=20299
4223+
[pear-20307]: https://pear.php.net/bugs/bug.php?id=20307
4224+
[pear-20308]: https://pear.php.net/bugs/bug.php?id=20308
4225+
[pear-20309]: https://pear.php.net/bugs/bug.php?id=20309
4226+
[pear-20310]: https://pear.php.net/bugs/bug.php?id=20310
4227+
[pear-20313]: https://pear.php.net/bugs/bug.php?id=20313
4228+
[pear-20314]: https://pear.php.net/bugs/bug.php?id=20314
4229+
[pear-20322]: https://pear.php.net/bugs/bug.php?id=20322
4230+
[pear-20323]: https://pear.php.net/bugs/bug.php?id=20323
41944231

41954232
## [2.0.0a2] - 2014-05-01
41964233
### Changed
@@ -4216,7 +4253,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
42164253
- PSR1 CamelCapsMethodNameSniff now ignores magic methods
42174254
- Thanks to [Eser Ozvataf][@eser] for the patch
42184255
- PSR1 SideEffectsSniff now ignores methods named define()
4219-
- PSR1 and PEAR ClassDeclarationSniffs now support traits (request #20208)
4256+
- PSR1 and PEAR ClassDeclarationSniffs now support traits (request [#20208][pear-20208])
42204257
- PSR2 ControlStructureSpacingSniff now allows newlines before/after parentheses
42214258
- Thanks to [Maurus Cuelenaere][@mcuelenaere] for the patch
42224259
- PSR2 ControlStructureSpacingSniff now checks TRY and CATCH statements
@@ -4227,20 +4264,33 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
42274264
- Squiz SwitchDeclarationSniff now allows exit() as a breaking statement for case/default
42284265
- Squiz ValidVariableNameSniff and Zend ValidVariableNameSniff now ignore additional PHP reserved vars
42294266
- Thanks to Mikuláš Dítě and Adrian Crepaz for the patch
4230-
- Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request #20241)
4267+
- Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request [#20241][pear-20241])
42314268

42324269
### Fixed
4233-
- Fixed bug #20200 : Invalid JSON produced with specific error message
4234-
- Fixed bug #20204 : Ruleset exclude checks are case sensitive
4235-
- Fixed bug #20213 : Invalid error, Inline IF must be declared on single line
4236-
- Fixed bug #20225 : array_merge() that takes more than one line generates error
4237-
- Fixed bug #20230 : Squiz ControlStructureSpacing sniff assumes specific condition formatting
4238-
- Fixed bug #20234 : phpcbf patch command absolute paths
4239-
- Fixed bug #20240 : Squiz block comment sniff fails when newline present
4240-
- Fixed bug #20247 : The Squiz.WhiteSpace.ControlStructureSpacing sniff and do-while
4270+
- Fixed bug [#20200][pear-20200] : Invalid JSON produced with specific error message
4271+
- Fixed bug [#20204][pear-20204] : Ruleset exclude checks are case sensitive
4272+
- Fixed bug [#20213][pear-20213] : Invalid error, Inline IF must be declared on single line
4273+
- Fixed bug [#20225][pear-20225] : array_merge() that takes more than one line generates error
4274+
- Fixed bug [#20230][pear-20230] : Squiz ControlStructureSpacing sniff assumes specific condition formatting
4275+
- Fixed bug [#20234][pear-20234] : phpcbf patch command absolute paths
4276+
- Fixed bug [#20240][pear-20240] : Squiz block comment sniff fails when newline present
4277+
- Fixed bug [#20247][pear-20247] : The Squiz.WhiteSpace.ControlStructureSpacing sniff and do-while
42414278
- Thanks to [Alexander Obuhovich][@aik099] for the patch
4242-
- Fixed bug #20248 : The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
4243-
- Fixed bug #20252 : Unitialized string offset when package name starts with underscore
4279+
- Fixed bug [#20248][pear-20248] : The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
4280+
- Fixed bug [#20252][pear-20252] : Unitialized string offset when package name starts with underscore
4281+
4282+
[pear-20200]: https://pear.php.net/bugs/bug.php?id=20200
4283+
[pear-20204]: https://pear.php.net/bugs/bug.php?id=20204
4284+
[pear-20208]: https://pear.php.net/bugs/bug.php?id=20208
4285+
[pear-20213]: https://pear.php.net/bugs/bug.php?id=20213
4286+
[pear-20225]: https://pear.php.net/bugs/bug.php?id=20225
4287+
[pear-20230]: https://pear.php.net/bugs/bug.php?id=20230
4288+
[pear-20234]: https://pear.php.net/bugs/bug.php?id=20234
4289+
[pear-20240]: https://pear.php.net/bugs/bug.php?id=20240
4290+
[pear-20241]: https://pear.php.net/bugs/bug.php?id=20241
4291+
[pear-20247]: https://pear.php.net/bugs/bug.php?id=20247
4292+
[pear-20248]: https://pear.php.net/bugs/bug.php?id=20248
4293+
[pear-20252]: https://pear.php.net/bugs/bug.php?id=20252
42444294

42454295
## [1.5.3] - 2014-05-01
42464296
### Changed

0 commit comments

Comments
 (0)