Skip to content

Commit e9d86e0

Browse files
rodrigoprimojrfnl
authored andcommitted
Add links to all issues in the 3.5.5 and 3.5.4 sections of the changelog
This commit also fixes a few typos in the two changelogs.
1 parent 1dacfb4 commit e9d86e0

File tree

1 file changed

+70
-37
lines changed

1 file changed

+70
-37
lines changed

CHANGELOG.md

Lines changed: 70 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,23 +1103,37 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
11031103
### Fixed
11041104
- Error wording in PEAR.Functions.FunctionCallSignature now always uses "parenthesis" instead of sometimes using "bracket"
11051105
- Thanks to [Vincent Langlet][@VincentLanglet] for the patch
1106-
- Fixed bug #2787 : Squiz.PHP.DisallowMultipleAssignments not ignoring typed property declarations
1106+
- Fixed bug [#2787] : Squiz.PHP.DisallowMultipleAssignments not ignoring typed property declarations
11071107
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
1108-
- Fixed bug #2810 : PHPCBF fails to fix file with empty statement at start on control structure
1109-
- Fixed bug #2812 : Squiz.Arrays.ArrayDeclaration not detecting some arrays with multiple arguments on the same line
1108+
- Fixed bug [#2810] : PHPCBF fails to fix file with empty statement at start on control structure
1109+
- Fixed bug [#2812] : Squiz.Arrays.ArrayDeclaration not detecting some arrays with multiple arguments on the same line
11101110
- Thanks to [Jakub Chábek][@grongor] for the patch
1111-
- Fixed bug #2826 : Generic.WhiteSpace.ArbitraryParenthesesSpacing doesn't detect issues for statements directly after a control structure
1111+
- Fixed bug [#2826] : Generic.WhiteSpace.ArbitraryParenthesesSpacing doesn't detect issues for statements directly after a control structure
11121112
- Thanks to [Vincent Langlet][@VincentLanglet] for the patch
1113-
- Fixed bug #2848 : PSR12.Files.FileHeader false positive for file with mixed PHP and HTML and no file header
1114-
- Fixed bug #2849 : Generic.WhiteSpace.ScopeIndent false positive with arrow function inside array
1115-
- Fixed bug #2850 : Generic.PHP.LowerCaseKeyword complains __HALT_COMPILER is uppercase
1116-
- Fixed bug #2853 : Undefined variable error when using Info report
1117-
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
1118-
- Fixed bug #2865 : Double arrow tokenized as T_STRING when placed after function named "fn"
1119-
- Fixed bug #2867 : Incorrect scope matching when arrow function used inside IF condition
1120-
- Fixed bug #2868 : phpcs:ignore annotation doesnt work inside a docblock
1121-
- Fixed bug #2878 : PSR12.Files.FileHeader conflicts with Generic.Files.LineEndings
1122-
- Fixed bug #2895 : PSR2.Methods.FunctionCallSignature.MultipleArguments false positive with arrow function argument
1113+
- Fixed bug [#2848] : PSR12.Files.FileHeader false positive for file with mixed PHP and HTML and no file header
1114+
- Fixed bug [#2849] : Generic.WhiteSpace.ScopeIndent false positive with arrow function inside array
1115+
- Fixed bug [#2850] : Generic.PHP.LowerCaseKeyword complains __HALT_COMPILER is uppercase
1116+
- Fixed bug [#2853] : Undefined variable error when using Info report
1117+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
1118+
- Fixed bug [#2865] : Double arrow tokenized as T_STRING when placed after function named "fn"
1119+
- Fixed bug [#2867] : Incorrect scope matching when arrow function used inside IF condition
1120+
- Fixed bug [#2868] : phpcs:ignore annotation doesn't work inside a docblock
1121+
- Fixed bug [#2878] : PSR12.Files.FileHeader conflicts with Generic.Files.LineEndings
1122+
- Fixed bug [#2895] : PSR2.Methods.FunctionCallSignature.MultipleArguments false positive with arrow function argument
1123+
1124+
[#2787]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2787
1125+
[#2810]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2810
1126+
[#2812]: https://github.com/squizlabs/PHP_CodeSniffer/pull/2812
1127+
[#2826]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2826
1128+
[#2848]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2848
1129+
[#2849]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2849
1130+
[#2850]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2850
1131+
[#2853]: https://github.com/squizlabs/PHP_CodeSniffer/pull/2853
1132+
[#2865]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2865
1133+
[#2867]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2867
1134+
[#2868]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2868
1135+
[#2878]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2878
1136+
[#2895]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2895
11231137

11241138
## [3.5.4] - 2020-01-31
11251139
### Changed
@@ -1135,7 +1149,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
11351149
- Previously it required these to have curly braces, but there were no statements to enclose in them
11361150
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
11371151
- PSR12.ControlStructures.BooleanOperatorPlacement can now be configured to enforce a specific operator position
1138-
- By default, the sniff ensures that operators are all at the begining or end of lines, but not a mix of both
1152+
- By default, the sniff ensures that operators are all at the beginning or end of lines, but not a mix of both
11391153
- Set the allowOnly property to "first" to enforce all boolean operators to be at the start of a line
11401154
- Set the allowOnly property to "last" to enforce all boolean operators to be at the end of a line
11411155
- Thanks to [Vincent Langlet][@VincentLanglet] for the patch
@@ -1147,37 +1161,56 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
11471161
- Squiz.PHP.InnerFunctions now handles multiple nested anon classes correctly
11481162

11491163
### Fixed
1150-
- Fixed bug #2497 : Sniff properties not set when referencing a sniff using relative paths or non-native slashes
1164+
- Fixed bug [#2497] : Sniff properties not set when referencing a sniff using relative paths or non-native slashes
11511165
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
1152-
- Fixed bug #2657 : Squiz.WhiteSpace.FunctionSpacing can remove spaces between comment and first/last method during auto-fixing
1166+
- Fixed bug [#2657] : Squiz.WhiteSpace.FunctionSpacing can remove spaces between comment and first/last method during auto-fixing
11531167
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
1154-
- Fixed bug #2688 : Case statements not tokenized correctly when switch is contained within ternary
1155-
- Fixed bug #2698 : PHPCS throws errors determining auto report width when shell_exec is disabled
1168+
- Fixed bug [#2688] : Case statements not tokenized correctly when switch is contained within ternary
1169+
- Fixed bug [#2698] : PHPCS throws errors determining auto report width when shell_exec is disabled
11561170
- Thanks to [Matthew Peveler][@MasterOdin] for the patch
1157-
- Fixed bug #2730 : PSR12.ControlStructures.ControlStructureSpacing does not ignore comments between conditions
1171+
- Fixed bug [#2730] : PSR12.ControlStructures.ControlStructureSpacing does not ignore comments between conditions
11581172
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
1159-
- Fixed bug #2732 : PSR12.Files.FileHeader misidentifies file header in mixed content file
1160-
- Fixed bug #2745 : AbstractArraySniff wrong indices when mixed coalesce and ternary values
1173+
- Fixed bug [#2732] : PSR12.Files.FileHeader misidentifies file header in mixed content file
1174+
- Fixed bug [#2745] : AbstractArraySniff wrong indices when mixed coalesce and ternary values
11611175
- Thanks to [Michał Bundyra][@michalbundyra] for the patch
1162-
- Fixed bug #2748 : Wrong end of statement for fn closures
1176+
- Fixed bug [#2748] : Wrong end of statement for fn closures
11631177
- Thanks to [Michał Bundyra][@michalbundyra] for the patch
1164-
- Fixed bug #2751 : Autoload relative paths first to avoid confusion with files from the global include path
1178+
- Fixed bug [#2751] : Autoload relative paths first to avoid confusion with files from the global include path
11651179
- Thanks to [Klaus Purer][@klausi] for the patch
1166-
- Fixed bug #2763 : PSR12 standard reports errors for multi-line FOR definitions
1167-
- Fixed bug #2768 : Generic.Files.LineLength false positive for non-breakable strings at exactly the soft limit
1180+
- Fixed bug [#2763] : PSR12 standard reports errors for multi-line FOR definitions
1181+
- Fixed bug [#2768] : Generic.Files.LineLength false positive for non-breakable strings at exactly the soft limit
11681182
- Thanks to [Alex Miles][@ghostal] for the patch
1169-
- Fixed bug #2773 : PSR2.Methods.FunctionCallSignature false positive when arrow function has array return type
1170-
- Fixed bug #2790 : PSR12.Traits.UseDeclaration ignores block comments
1183+
- Fixed bug [#2773] : PSR2.Methods.FunctionCallSignature false positive when arrow function has array return type
1184+
- Fixed bug [#2790] : PSR12.Traits.UseDeclaration ignores block comments
11711185
- Thanks to [Vincent Langlet][@VincentLanglet] for the patch
1172-
- Fixed bug #2791 : PSR12.Functions.NullableTypeDeclaration false positive when ternary operator used with instanceof
1173-
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
1174-
- Fixed bug #2802 : Can't specify a report file path using the tilde shortcut
1175-
- Fixed bug #2804 : PHP4-style typed properties not tokenized correctly
1176-
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
1177-
- Fixed bug #2805 : Undefined Offset notice during live coding of arrow functions
1178-
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
1179-
- Fixed bug #2843 : Tokenizer does not support alternative syntax for declare statements
1180-
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
1186+
- Fixed bug [#2791] : PSR12.Functions.NullableTypeDeclaration false positive when ternary operator used with instanceof
1187+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
1188+
- Fixed bug [#2802] : Can't specify a report file path using the tilde shortcut
1189+
- Fixed bug [#2804] : PHP4-style typed properties not tokenized correctly
1190+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
1191+
- Fixed bug [#2805] : Undefined Offset notice during live coding of arrow functions
1192+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
1193+
- Fixed bug [#2843] : Tokenizer does not support alternative syntax for declare statements
1194+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
1195+
1196+
[#2497]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2497
1197+
[#2657]: https://github.com/squizlabs/PHP_CodeSniffer/pull/2657
1198+
[#2688]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2688
1199+
[#2698]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2698
1200+
[#2730]: https://github.com/squizlabs/PHP_CodeSniffer/pull/2730
1201+
[#2732]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2732
1202+
[#2745]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2745
1203+
[#2748]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2748
1204+
[#2751]: https://github.com/squizlabs/PHP_CodeSniffer/pull/2751
1205+
[#2763]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2763
1206+
[#2768]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2768
1207+
[#2773]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2773
1208+
[#2790]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2790
1209+
[#2791]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2791
1210+
[#2802]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2802
1211+
[#2804]: https://github.com/squizlabs/PHP_CodeSniffer/pull/2804
1212+
[#2805]: https://github.com/squizlabs/PHP_CodeSniffer/pull/2805
1213+
[#2843]: https://github.com/squizlabs/PHP_CodeSniffer/pull/2843
11811214

11821215
## [3.5.3] - 2019-12-04
11831216
### Changed

0 commit comments

Comments
 (0)