Skip to content

Commit 2446c13

Browse files
rodrigoprimojrfnl
authored andcommitted
Add links to all issues in the 1.5.6, 2.0.0RC4, 2.0.0RC3 and 2.0.0RC2 sections of the changelog
Also fixes a typo
1 parent 93e180f commit 2446c13

File tree

1 file changed

+60
-28
lines changed

1 file changed

+60
-28
lines changed

CHANGELOG.md

Lines changed: 60 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4089,11 +4089,17 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
40894089
- Thanks to [Thibaud Fabre][@fabre-thibaud] for the patch
40904090

40914091
### Fixed
4092-
- Fixed bug #280 : The --config-show option generates error when there is no config file
4093-
- Fixed bug #306 : File containing only a namespace declaration raises undefined index notice
4094-
- Fixed bug #308 : Squiz InlineIfDeclarationSniff fails on ternary operators inside closure
4095-
- Fixed bug #310 : Variadics not recognized by tokenizer
4096-
- Fixed bug #311 : Suppression of function prototype breaks checking of lines within function
4092+
- Fixed bug [#280][sq-280] : The --config-show option generates error when there is no config file
4093+
- Fixed bug [#306][sq-306] : File containing only a namespace declaration raises undefined index notice
4094+
- Fixed bug [#308][sq-308] : Squiz InlineIfDeclarationSniff fails on ternary operators inside closure
4095+
- Fixed bug [#310][sq-310] : Variadics not recognized by tokenizer
4096+
- Fixed bug [#311][sq-311] : Suppression of function prototype breaks checking of lines within function
4097+
4098+
[sq-280]: https://github.com/squizlabs/PHP_CodeSniffer/issues/280
4099+
[sq-306]: https://github.com/squizlabs/PHP_CodeSniffer/issues/306
4100+
[sq-308]: https://github.com/squizlabs/PHP_CodeSniffer/issues/308
4101+
[sq-310]: https://github.com/squizlabs/PHP_CodeSniffer/issues/310
4102+
[sq-311]: https://github.com/squizlabs/PHP_CodeSniffer/issues/311
40974103

40984104
## [2.0.0RC4] - 2014-11-07
40994105
### Changed
@@ -4119,14 +4125,23 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
41194125
- Running unit tests with the -v CLI argument no longer generates PHP errors
41204126

41214127
### Fixed
4122-
- Fixed bug #295 : ScopeIndentSniff hangs when processing nested closures
4123-
- Fixed bug #298 : False positive in ScopeIndentSniff when anonymous functions are used with method chaining
4124-
- Fixed bug #302 : Fixing code in Squiz InlineComment sniff can remove some comment text
4125-
- Fixed bug #303 : Open and close tag on same line can cause a PHP notice checking scope indent
4126-
- Fixed bug #306 : File containing only a namespace declaration raises undefined index notice
4127-
- Fixed bug #307 : Conditional breaks in case statements get incorrect indentations
4128-
- Fixed bug #308 : Squiz InlineIfDeclarationSniff fails on ternary operators inside closure
4129-
- Fixed bug #310 : Variadics not recognized by tokenizer
4128+
- Fixed bug [#295][sq-295] : ScopeIndentSniff hangs when processing nested closures
4129+
- Fixed bug [#298][sq-298] : False positive in ScopeIndentSniff when anonymous functions are used with method chaining
4130+
- Fixed bug [#302][sq-302] : Fixing code in Squiz InlineComment sniff can remove some comment text
4131+
- Fixed bug [#303][sq-303] : Open and close tag on same line can cause a PHP notice checking scope indent
4132+
- Fixed bug [#306][sq-306] : File containing only a namespace declaration raises undefined index notice
4133+
- Fixed bug [#307][sq-307] : Conditional breaks in case statements get incorrect indentations
4134+
- Fixed bug [#308][sq-308] : Squiz InlineIfDeclarationSniff fails on ternary operators inside closure
4135+
- Fixed bug [#310][sq-310] : Variadics not recognized by tokenizer
4136+
4137+
[sq-295]: https://github.com/squizlabs/PHP_CodeSniffer/issues/295
4138+
[sq-298]: https://github.com/squizlabs/PHP_CodeSniffer/issues/298
4139+
[sq-302]: https://github.com/squizlabs/PHP_CodeSniffer/issues/302
4140+
[sq-303]: https://github.com/squizlabs/PHP_CodeSniffer/issues/303
4141+
[sq-306]: https://github.com/squizlabs/PHP_CodeSniffer/issues/306
4142+
[sq-307]: https://github.com/squizlabs/PHP_CodeSniffer/issues/307
4143+
[sq-308]: https://github.com/squizlabs/PHP_CodeSniffer/issues/308
4144+
[sq-310]: https://github.com/squizlabs/PHP_CodeSniffer/issues/310
41304145

41314146
## [2.0.0RC3] - 2014-10-16
41324147
### Changed
@@ -4147,26 +4162,29 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
41474162
- Squiz EmbeddedPhpSniff now checks open and close tag indents and fixes some errors
41484163
- Squiz FileCommentSniff no longer throws incorrect blank line before comment errors in JS files
41494164
- Squiz ClassDeclarationSniff now has better checking for blank lines after a closing brace
4150-
- Removed error Squiz.Classes.ClassDeclaration.NoNewlineAfterCloseBrace (request #285)
4165+
- Removed error Squiz.Classes.ClassDeclaration.NoNewlineAfterCloseBrace (request [#285][sq-285])
41514166
- Already handled by Squiz.Classes.ClassDeclaration.CloseBraceSameLine
41524167

41534168
### Fixed
4154-
- Fixed bug #280 : The --config-show option generates error when there is no config file
4169+
- Fixed bug [#280][sq-280] : The --config-show option generates error when there is no config file
4170+
4171+
[sq-280]: https://github.com/squizlabs/PHP_CodeSniffer/issues/280
4172+
[sq-285]: https://github.com/squizlabs/PHP_CodeSniffer/issues/285
41554173

41564174
## [2.0.0RC2] - 2014-09-26
41574175
### Changed
4158-
- Minified JS and CSS files are now detected and skipped (fixes bug #252 and bug #19899)
4176+
- Minified JS and CSS files are now detected and skipped (fixes bug [#252][sq-252] and bug [#19899][pear-19899])
41594177
- A warning will be added to the file so it can be found in the report and ignored in the future
41604178
- Fixed incorrect length of JS object operator tokens
41614179
- PHP tokenizer no longer converts class/function names to special tokens types
41624180
- Class/function names such as parent and true would become special tokens such as T_PARENT and T_TRUE
4163-
- PHPCS can now exit with 0 if only warnings were found (request #262)
4181+
- PHPCS can now exit with 0 if only warnings were found (request [#262][sq-262])
41644182
- Set the ignore_warnings_on_exit config variable to 1 to set this behaviour
41654183
- Default remains at exiting with 0 only if no errors and no warnings were found
41664184
- Also changes return value of PHP_CodeSniffer_Reporting::printReport()
41674185
- Rulesets can now set associative array properties
41684186
- property name="[property]" type="array" value="foo=>bar,baz=>qux"
4169-
- Generic ForbiddenFunctionsSniff now has a public property called forbiddenFunctions (request #263)
4187+
- Generic ForbiddenFunctionsSniff now has a public property called forbiddenFunctions (request [#263][sq-263])
41704188
- Override the property in a ruleset.xml file to define forbidden functions and their replacements
41714189
- A replacement of NULL indicates that no replacement is available
41724190
- e.g., value="delete=>unset,print=>echo,create_function=>null"
@@ -4178,14 +4196,14 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
41784196
- If 2 sniffs look to be conflicting, one change will be ignored to allow a fix to occur
41794197
- Generic CamelCapsFunctionNameSniff now ignores a single leading underscore
41804198
- Thanks to [Alex Slobodiskiy][@xt99] for the patch
4181-
- Standards can now be located within hidden directories (further fix for bug #20323)
4199+
- Standards can now be located within hidden directories (further fix for bug [#20323][pear-20323])
41824200
- Thanks to [Klaus Purer][@klausi] for the patch
41834201
- Sniff ignore patterns now replace Win dir separators like file ignore patterns already did
41844202
- Exclude patterns now use backtick delimiters, allowing all special characters to work correctly again
41854203
- Thanks to [Jeremy Edgell][@jedgell] for the patch
41864204
- Errors converted to warnings in a ruleset (and vice versa) now retain their fixable status
41874205
- Thanks to [Alexander Obuhovich][@aik099] for the patch
4188-
- Squiz ConcatenationSpacingSniff now has a setting to specify how many spaces there should around concat operators
4206+
- Squiz ConcatenationSpacingSniff now has a setting to specify how many spaces there should be around concat operators
41894207
- Default remains at 0
41904208
- Override the "spacing" setting in a ruleset.xml file to change
41914209
- Added auto-fixes for Squiz InlineCommentSniff
@@ -4203,15 +4221,29 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
42034221
- Generic UpperCaseConstantSniff and LowerCaseConstantSniff now ignore function names
42044222

42054223
### Fixed
4206-
- Fixed bug #243 : Missing DocBlock not detected
4207-
- Fixed bug #248 : FunctionCommentSniff expects ampersand on param name
4208-
- Fixed bug #265 : False positives with type hints in ForbiddenFunctionsSniff
4209-
- Fixed bug #20373 : Inline comment sniff tab handling way
4210-
- Fixed bug #20377 : Error when trying to execute phpcs with report=json
4211-
- Fixed bug #20378 : Report appended to existing file if no errors found in run
4212-
- Fixed bug #20381 : Invalid "Comment closer must be on a new line"
4224+
- Fixed bug [#243][sq-243] : Missing DocBlock not detected
4225+
- Fixed bug [#248][sq-248] : FunctionCommentSniff expects ampersand on param name
4226+
- Fixed bug [#265][sq-265] : False positives with type hints in ForbiddenFunctionsSniff
4227+
- Fixed bug [#20373][pear-20373] : Inline comment sniff tab handling way
4228+
- Fixed bug [#20377][pear-20377] : Error when trying to execute phpcs with report=json
4229+
- Fixed bug [#20378][pear-20378] : Report appended to existing file if no errors found in run
4230+
- Fixed bug [#20381][pear-20381] : Invalid "Comment closer must be on a new line"
42134231
- Thanks to [Brad Kent][@bkdotcom] for the patch
4214-
- Fixed bug #20402 : SVN pre-commit hook fails due to unknown argument error
4232+
- Fixed bug [#20402][pear-20402] : SVN pre-commit hook fails due to unknown argument error
4233+
4234+
[sq-243]: https://github.com/squizlabs/PHP_CodeSniffer/issues/243
4235+
[sq-248]: https://github.com/squizlabs/PHP_CodeSniffer/issues/248
4236+
[sq-252]: https://github.com/squizlabs/PHP_CodeSniffer/issues/252
4237+
[sq-262]: https://github.com/squizlabs/PHP_CodeSniffer/issues/262
4238+
[sq-263]: https://github.com/squizlabs/PHP_CodeSniffer/issues/263
4239+
[sq-265]: https://github.com/squizlabs/PHP_CodeSniffer/pull/265
4240+
[pear-19899]: https://pear.php.net/bugs/bug.php?id=19899
4241+
[pear-20323]: https://pear.php.net/bugs/bug.php?id=20323
4242+
[pear-20373]: https://pear.php.net/bugs/bug.php?id=20373
4243+
[pear-20377]: https://pear.php.net/bugs/bug.php?id=20377
4244+
[pear-20378]: https://pear.php.net/bugs/bug.php?id=20378
4245+
[pear-20381]: https://pear.php.net/bugs/bug.php?id=20381
4246+
[pear-20402]: https://pear.php.net/bugs/bug.php?id=20402
42154247

42164248
## [1.5.5] - 2014-09-25
42174249
### Changed

0 commit comments

Comments
 (0)