Skip to content

Commit 790f160

Browse files
rodrigoprimojrfnl
authored andcommitted
Changelog: add links to all issues in the 3.6.0 section (#286)
Includes fixing some typos in the 3.6.0 section of the changelog
1 parent 249a4fe commit 790f160

File tree

1 file changed

+44
-23
lines changed

1 file changed

+44
-23
lines changed

CHANGELOG.md

Lines changed: 44 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
701701
- Added support for PHP 8.0 dereferencing of text strings with interpolated variables
702702
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
703703
- Added support for PHP 8.0 match expressions
704-
- Match expressions are now tokenised with parenthesis and scope openers and closers
704+
- Match expressions are now tokenized with parenthesis and scope openers and closers
705705
- Sniffs can listen for the T_MATCH token to process match expressions
706706
- Note that the case and default statements inside match expressions do not have scopes set
707707
- A new T_MATCH_ARROW token is available to represent the arrows in match expressions
@@ -776,7 +776,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
776776
- Thanks to [Vincent Langlet][@VincentLanglet] for the patch
777777
- PSR2.ControlStructures.SwitchDeclaration now supports nested switch statements where every branch terminates
778778
- Previously, if a CASE only contained a SWITCH and no direct terminating statement, a fall-through error was displayed
779-
- Now, the error is surpressed if every branch of the SWITCH has a terminating statement
779+
- Now, the error is suppressed if every branch of the SWITCH has a terminating statement
780780
- Thanks to [Vincent Langlet][@VincentLanglet] for the patch
781781
- The PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket error message is now reported on the closing parenthesis token
782782
- Previously, the error was being reported on the function keyword, leading to confusing line numbers in the error report
@@ -800,33 +800,54 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
800800
- Sniff no longer errors for assignments on first line of closure
801801
- Sniff no longer errors for assignments after a goto label
802802
- Thanks to [Jaroslav Hanslík][@kukulich] for the patch
803-
- Fixed bug #2913 : Generic.WhiteSpace.ScopeIndent false positive when opening and closing tag on same line inside conditional
804-
- Fixed bug #2992 : Enabling caching using a ruleset produces invalid cache files when using --sniffs and --exclude CLI args
805-
- Fixed bug #3003 : Squiz.Formatting.OperatorBracket autofix incorrect when assignment used with null coalescing operator
806-
- Fixed bug #3145 : Autoloading of sniff fails when multiple classes declared in same file
807-
- Fixed bug #3157 : PSR2.ControlStructures.SwitchDeclaration.BreakIndent false positive when case keyword is not indented
808-
- Fixed bug #3163 : Undefined index error with pre-commit hook using husky on PHP 7.4
803+
- Fixed bug [#2913] : Generic.WhiteSpace.ScopeIndent false positive when opening and closing tag on same line inside conditional
804+
- Fixed bug [#2992] : Enabling caching using a ruleset produces invalid cache files when using --sniffs and --exclude CLI args
805+
- Fixed bug [#3003] : Squiz.Formatting.OperatorBracket autofix incorrect when assignment used with null coalescing operator
806+
- Fixed bug [#3145] : Autoloading of sniff fails when multiple classes declared in same file
807+
- Fixed bug [#3157] : PSR2.ControlStructures.SwitchDeclaration.BreakIndent false positive when case keyword is not indented
808+
- Fixed bug [#3163] : Undefined index error with pre-commit hook using husky on PHP 7.4
809809
- Thanks to [Ismo Vuorinen][@ivuorinen] for the patch
810-
- Fixed bug #3165 : Squiz.PHP.DisallowComparisonAssignment false positive when comparison inside closure
811-
- Fixed bug #3167 : Generic.WhiteSpace.ScopeIndent false positive when using PHP 8.0 constructor property promotion
812-
- Fixed bug #3170 : Squiz.WhiteSpace.OperatorSpacing false positive when using negation with string concat
810+
- Fixed bug [#3165] : Squiz.PHP.DisallowComparisonAssignment false positive when comparison inside closure
811+
- Fixed bug [#3167] : Generic.WhiteSpace.ScopeIndent false positive when using PHP 8.0 constructor property promotion
812+
- Fixed bug [#3170] : Squiz.WhiteSpace.OperatorSpacing false positive when using negation with string concat
813813
- This also fixes the same issue in the PSR12.Operators.OperatorSpacing sniff
814-
- Fixed bug #3177 : Incorrect tokenization of GOTO statements in mixed PHP/HTML files
814+
- Fixed bug [#3177] : Incorrect tokenization of GOTO statements in mixed PHP/HTML files
815815
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
816-
- Fixed bug #3184 : PSR2.Namespace.NamespaceDeclaration false positive on namespace operator
816+
- Fixed bug [#3184] : PSR2.Namespace.NamespaceDeclaration false positive on namespace operator
817817
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
818-
- Fixed bug #3188 : Squiz.WhiteSpace.ScopeKeywordSpacing false positive for static return type
818+
- Fixed bug [#3188] : Squiz.WhiteSpace.ScopeKeywordSpacing false positive for static return type
819819
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
820-
- Fixed bug #3192 : findStartOfStatement doesn't work correctly inside switch
820+
- Fixed bug [#3192] : findStartOfStatement doesn't work correctly inside switch
821821
- Thanks to [Vincent Langlet][@VincentLanglet] for the patch
822-
- Fixed bug #3195 : Generic.WhiteSpace.ScopeIndent confusing message when combination of tabs and spaces found
823-
- Fixed bug #3197 : Squiz.NamingConventions.ValidVariableName does not use correct error code for all member vars
824-
- Fixed bug #3219 : Generic.Formatting.MultipleStatementAlignment false positive for empty anonymous classes and closures
825-
- Fixed bug #3258 : Squiz.Formatting.OperatorBracket duplicate error messages for unary minus
826-
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
827-
- Fixed bug #3273 : Squiz.Functions.FunctionDeclarationArgumentSpacing reports line break as 0 spaces between parenthesis
828-
- Fixed bug #3277 : Nullable static return typehint causes whitespace error
829-
- Fixed bug #3284 : Unused parameter false positive when using array index in arrow function
822+
- Fixed bug [#3195] : Generic.WhiteSpace.ScopeIndent confusing message when combination of tabs and spaces found
823+
- Fixed bug [#3197] : Squiz.NamingConventions.ValidVariableName does not use correct error code for all member vars
824+
- Fixed bug [#3219] : Generic.Formatting.MultipleStatementAlignment false positive for empty anonymous classes and closures
825+
- Fixed bug [#3258] : Squiz.Formatting.OperatorBracket duplicate error messages for unary minus
826+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
827+
- Fixed bug [#3273] : Squiz.Functions.FunctionDeclarationArgumentSpacing reports line break as 0 spaces between parenthesis
828+
- Fixed bug [#3277] : Nullable static return typehint causes whitespace error
829+
- Fixed bug [#3284] : Unused parameter false positive when using array index in arrow function
830+
831+
[#2913]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2913
832+
[#2992]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2992
833+
[#3003]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3003
834+
[#3145]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3145
835+
[#3157]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3157
836+
[#3163]: https://github.com/squizlabs/PHP_CodeSniffer/pull/3163
837+
[#3165]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3165
838+
[#3167]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3167
839+
[#3170]: https://github.com/squizlabs/PHP_CodeSniffer/pull/3170
840+
[#3177]: https://github.com/squizlabs/PHP_CodeSniffer/pull/3177
841+
[#3184]: https://github.com/squizlabs/PHP_CodeSniffer/pull/3184
842+
[#3188]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3188
843+
[#3192]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3192
844+
[#3195]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3195
845+
[#3197]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3197
846+
[#3219]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3219
847+
[#3258]: https://github.com/squizlabs/PHP_CodeSniffer/pull/3258
848+
[#3273]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3273
849+
[#3277]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3277
850+
[#3284]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3284
830851

831852
## [3.5.8] - 2020-10-23
832853
### Removed

0 commit comments

Comments
 (0)