Skip to content

Commit 7ecc53c

Browse files
authored
Merge pull request #411 from rodrigoprimo/changelog-improvements-2.0.0rc2
Add links to all issues in the 1.5.6, 2.0.0RC4, 2.0.0RC3 and 2.0.0RC2 sections of the changelog
2 parents a965341 + 9b899f7 commit 7ecc53c

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
@@ -3987,11 +3987,17 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
39873987
- Thanks to [Thibaud Fabre][@fabre-thibaud] for the patch
39883988

39893989
### Fixed
3990-
- Fixed bug #280 : The --config-show option generates error when there is no config file
3991-
- Fixed bug #306 : File containing only a namespace declaration raises undefined index notice
3992-
- Fixed bug #308 : Squiz InlineIfDeclarationSniff fails on ternary operators inside closure
3993-
- Fixed bug #310 : Variadics not recognized by tokenizer
3994-
- Fixed bug #311 : Suppression of function prototype breaks checking of lines within function
3990+
- Fixed bug [#280][sq-280] : The --config-show option generates error when there is no config file
3991+
- Fixed bug [#306][sq-306] : File containing only a namespace declaration raises undefined index notice
3992+
- Fixed bug [#308][sq-308] : Squiz InlineIfDeclarationSniff fails on ternary operators inside closure
3993+
- Fixed bug [#310][sq-310] : Variadics not recognized by tokenizer
3994+
- Fixed bug [#311][sq-311] : Suppression of function prototype breaks checking of lines within function
3995+
3996+
[sq-280]: https://github.com/squizlabs/PHP_CodeSniffer/issues/280
3997+
[sq-306]: https://github.com/squizlabs/PHP_CodeSniffer/issues/306
3998+
[sq-308]: https://github.com/squizlabs/PHP_CodeSniffer/issues/308
3999+
[sq-310]: https://github.com/squizlabs/PHP_CodeSniffer/issues/310
4000+
[sq-311]: https://github.com/squizlabs/PHP_CodeSniffer/issues/311
39954001

39964002
## [2.0.0RC4] - 2014-11-07
39974003
### Changed
@@ -4017,14 +4023,23 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
40174023
- Running unit tests with the -v CLI argument no longer generates PHP errors
40184024

40194025
### Fixed
4020-
- Fixed bug #295 : ScopeIndentSniff hangs when processing nested closures
4021-
- Fixed bug #298 : False positive in ScopeIndentSniff when anonymous functions are used with method chaining
4022-
- Fixed bug #302 : Fixing code in Squiz InlineComment sniff can remove some comment text
4023-
- Fixed bug #303 : Open and close tag on same line can cause a PHP notice checking scope indent
4024-
- Fixed bug #306 : File containing only a namespace declaration raises undefined index notice
4025-
- Fixed bug #307 : Conditional breaks in case statements get incorrect indentations
4026-
- Fixed bug #308 : Squiz InlineIfDeclarationSniff fails on ternary operators inside closure
4027-
- Fixed bug #310 : Variadics not recognized by tokenizer
4026+
- Fixed bug [#295][sq-295] : ScopeIndentSniff hangs when processing nested closures
4027+
- Fixed bug [#298][sq-298] : False positive in ScopeIndentSniff when anonymous functions are used with method chaining
4028+
- Fixed bug [#302][sq-302] : Fixing code in Squiz InlineComment sniff can remove some comment text
4029+
- Fixed bug [#303][sq-303] : Open and close tag on same line can cause a PHP notice checking scope indent
4030+
- Fixed bug [#306][sq-306] : File containing only a namespace declaration raises undefined index notice
4031+
- Fixed bug [#307][sq-307] : Conditional breaks in case statements get incorrect indentations
4032+
- Fixed bug [#308][sq-308] : Squiz InlineIfDeclarationSniff fails on ternary operators inside closure
4033+
- Fixed bug [#310][sq-310] : Variadics not recognized by tokenizer
4034+
4035+
[sq-295]: https://github.com/squizlabs/PHP_CodeSniffer/issues/295
4036+
[sq-298]: https://github.com/squizlabs/PHP_CodeSniffer/issues/298
4037+
[sq-302]: https://github.com/squizlabs/PHP_CodeSniffer/issues/302
4038+
[sq-303]: https://github.com/squizlabs/PHP_CodeSniffer/issues/303
4039+
[sq-306]: https://github.com/squizlabs/PHP_CodeSniffer/issues/306
4040+
[sq-307]: https://github.com/squizlabs/PHP_CodeSniffer/issues/307
4041+
[sq-308]: https://github.com/squizlabs/PHP_CodeSniffer/issues/308
4042+
[sq-310]: https://github.com/squizlabs/PHP_CodeSniffer/issues/310
40284043

40294044
## [2.0.0RC3] - 2014-10-16
40304045
### Changed
@@ -4045,26 +4060,29 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
40454060
- Squiz EmbeddedPhpSniff now checks open and close tag indents and fixes some errors
40464061
- Squiz FileCommentSniff no longer throws incorrect blank line before comment errors in JS files
40474062
- Squiz ClassDeclarationSniff now has better checking for blank lines after a closing brace
4048-
- Removed error Squiz.Classes.ClassDeclaration.NoNewlineAfterCloseBrace (request #285)
4063+
- Removed error Squiz.Classes.ClassDeclaration.NoNewlineAfterCloseBrace (request [#285][sq-285])
40494064
- Already handled by Squiz.Classes.ClassDeclaration.CloseBraceSameLine
40504065

40514066
### Fixed
4052-
- Fixed bug #280 : The --config-show option generates error when there is no config file
4067+
- Fixed bug [#280][sq-280] : The --config-show option generates error when there is no config file
4068+
4069+
[sq-280]: https://github.com/squizlabs/PHP_CodeSniffer/issues/280
4070+
[sq-285]: https://github.com/squizlabs/PHP_CodeSniffer/issues/285
40534071

40544072
## [2.0.0RC2] - 2014-09-26
40554073
### Changed
4056-
- Minified JS and CSS files are now detected and skipped (fixes bug #252 and bug #19899)
4074+
- Minified JS and CSS files are now detected and skipped (fixes bug [#252][sq-252] and bug [#19899][pear-19899])
40574075
- A warning will be added to the file so it can be found in the report and ignored in the future
40584076
- Fixed incorrect length of JS object operator tokens
40594077
- PHP tokenizer no longer converts class/function names to special tokens types
40604078
- Class/function names such as parent and true would become special tokens such as T_PARENT and T_TRUE
4061-
- PHPCS can now exit with 0 if only warnings were found (request #262)
4079+
- PHPCS can now exit with 0 if only warnings were found (request [#262][sq-262])
40624080
- Set the ignore_warnings_on_exit config variable to 1 to set this behaviour
40634081
- Default remains at exiting with 0 only if no errors and no warnings were found
40644082
- Also changes return value of PHP_CodeSniffer_Reporting::printReport()
40654083
- Rulesets can now set associative array properties
40664084
- property name="[property]" type="array" value="foo=>bar,baz=>qux"
4067-
- Generic ForbiddenFunctionsSniff now has a public property called forbiddenFunctions (request #263)
4085+
- Generic ForbiddenFunctionsSniff now has a public property called forbiddenFunctions (request [#263][sq-263])
40684086
- Override the property in a ruleset.xml file to define forbidden functions and their replacements
40694087
- A replacement of NULL indicates that no replacement is available
40704088
- e.g., value="delete=>unset,print=>echo,create_function=>null"
@@ -4076,14 +4094,14 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
40764094
- If 2 sniffs look to be conflicting, one change will be ignored to allow a fix to occur
40774095
- Generic CamelCapsFunctionNameSniff now ignores a single leading underscore
40784096
- Thanks to [Alex Slobodiskiy][@xt99] for the patch
4079-
- Standards can now be located within hidden directories (further fix for bug #20323)
4097+
- Standards can now be located within hidden directories (further fix for bug [#20323][pear-20323])
40804098
- Thanks to [Klaus Purer][@klausi] for the patch
40814099
- Sniff ignore patterns now replace Win dir separators like file ignore patterns already did
40824100
- Exclude patterns now use backtick delimiters, allowing all special characters to work correctly again
40834101
- Thanks to [Jeremy Edgell][@jedgell] for the patch
40844102
- Errors converted to warnings in a ruleset (and vice versa) now retain their fixable status
40854103
- Thanks to [Alexander Obuhovich][@aik099] for the patch
4086-
- Squiz ConcatenationSpacingSniff now has a setting to specify how many spaces there should around concat operators
4104+
- Squiz ConcatenationSpacingSniff now has a setting to specify how many spaces there should be around concat operators
40874105
- Default remains at 0
40884106
- Override the "spacing" setting in a ruleset.xml file to change
40894107
- Added auto-fixes for Squiz InlineCommentSniff
@@ -4101,15 +4119,29 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
41014119
- Generic UpperCaseConstantSniff and LowerCaseConstantSniff now ignore function names
41024120

41034121
### Fixed
4104-
- Fixed bug #243 : Missing DocBlock not detected
4105-
- Fixed bug #248 : FunctionCommentSniff expects ampersand on param name
4106-
- Fixed bug #265 : False positives with type hints in ForbiddenFunctionsSniff
4107-
- Fixed bug #20373 : Inline comment sniff tab handling way
4108-
- Fixed bug #20377 : Error when trying to execute phpcs with report=json
4109-
- Fixed bug #20378 : Report appended to existing file if no errors found in run
4110-
- Fixed bug #20381 : Invalid "Comment closer must be on a new line"
4122+
- Fixed bug [#243][sq-243] : Missing DocBlock not detected
4123+
- Fixed bug [#248][sq-248] : FunctionCommentSniff expects ampersand on param name
4124+
- Fixed bug [#265][sq-265] : False positives with type hints in ForbiddenFunctionsSniff
4125+
- Fixed bug [#20373][pear-20373] : Inline comment sniff tab handling way
4126+
- Fixed bug [#20377][pear-20377] : Error when trying to execute phpcs with report=json
4127+
- Fixed bug [#20378][pear-20378] : Report appended to existing file if no errors found in run
4128+
- Fixed bug [#20381][pear-20381] : Invalid "Comment closer must be on a new line"
41114129
- Thanks to [Brad Kent][@bkdotcom] for the patch
4112-
- Fixed bug #20402 : SVN pre-commit hook fails due to unknown argument error
4130+
- Fixed bug [#20402][pear-20402] : SVN pre-commit hook fails due to unknown argument error
4131+
4132+
[sq-243]: https://github.com/squizlabs/PHP_CodeSniffer/issues/243
4133+
[sq-248]: https://github.com/squizlabs/PHP_CodeSniffer/issues/248
4134+
[sq-252]: https://github.com/squizlabs/PHP_CodeSniffer/issues/252
4135+
[sq-262]: https://github.com/squizlabs/PHP_CodeSniffer/issues/262
4136+
[sq-263]: https://github.com/squizlabs/PHP_CodeSniffer/issues/263
4137+
[sq-265]: https://github.com/squizlabs/PHP_CodeSniffer/pull/265
4138+
[pear-19899]: https://pear.php.net/bugs/bug.php?id=19899
4139+
[pear-20323]: https://pear.php.net/bugs/bug.php?id=20323
4140+
[pear-20373]: https://pear.php.net/bugs/bug.php?id=20373
4141+
[pear-20377]: https://pear.php.net/bugs/bug.php?id=20377
4142+
[pear-20378]: https://pear.php.net/bugs/bug.php?id=20378
4143+
[pear-20381]: https://pear.php.net/bugs/bug.php?id=20381
4144+
[pear-20402]: https://pear.php.net/bugs/bug.php?id=20402
41134145

41144146
## [1.5.5] - 2014-09-25
41154147
### Changed

0 commit comments

Comments
 (0)