Skip to content

Commit a05f8ba

Browse files
rodrigoprimojrfnl
authored andcommitted
Add links to all issues in the 2.9.0, 2.8.1 and 2.8.0 sections of the changelog (#389)
Also fixed a few typos.
1 parent 8176050 commit a05f8ba

File tree

1 file changed

+82
-40
lines changed

1 file changed

+82
-40
lines changed

CHANGELOG.md

Lines changed: 82 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2927,7 +2927,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
29272927
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
29282928
- PEAR.Commenting.ClassComment now supports checking of traits as well as classes and interfaces
29292929
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2930-
- Squiz.Commenting.FunctionCommentThrowTag now supports re-throwing exceptions (request #946)
2930+
- Squiz.Commenting.FunctionCommentThrowTag now supports re-throwing exceptions (request [#946])
29312931
- Thanks to [Samuel Levy][@samlev] for the patch
29322932
- Squiz.PHP.DisallowMultipleAssignments now ignores PHP4-style member var assignments
29332933
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
@@ -2938,20 +2938,33 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
29382938
- Added missing error codes for a couple of sniffs so they can now be customised as normal
29392939

29402940
### Fixed
2941-
- Fixed bug #1266 : PEAR.WhiteSpace.ScopeClosingBrace can throw an error while fixing mixed PHP/HTML
2942-
- Fixed bug #1364 : Yield From values are not recognised as returned values in Squiz FunctionComment sniff
2943-
- Fixed bug #1373 : Error in tab expansion results in white-space of incorrect size
2941+
- Fixed bug [#1266] : PEAR.WhiteSpace.ScopeClosingBrace can throw an error while fixing mixed PHP/HTML
2942+
- Fixed bug [#1364] : Yield From values are not recognised as returned values in Squiz FunctionComment sniff
2943+
- Fixed bug [#1373] : Error in tab expansion results in white-space of incorrect size
29442944
- Thanks to [Mark Clements][@MarkMaldaba] for the patch
2945-
- Fixed bug #1381 : Tokenizer: dereferencing incorrectly identified as short array
2946-
- Fixed bug #1387 : Squiz.ControlStructures.ControlSignature does not handle alt syntax when checking space after closing brace
2947-
- Fixed bug #1392 : Scope indent calculated incorrectly when using array destructuring
2948-
- Fixed bug #1394 : integer type hints appearing as TypeHintMissing instead of ScalarTypeHintMissing
2945+
- Fixed bug [#1381] : Tokenizer: dereferencing incorrectly identified as short array
2946+
- Fixed bug [#1387] : Squiz.ControlStructures.ControlSignature does not handle alt syntax when checking space after closing brace
2947+
- Fixed bug [#1392] : Scope indent calculated incorrectly when using array destructuring
2948+
- Fixed bug [#1394] : integer type hints appearing as TypeHintMissing instead of ScalarTypeHintMissing
29492949
- PHP 7 type hints were also being shown when run under PHP 5 in some cases
2950-
- Fixed bug #1405 : Squiz.WhiteSpace.ScopeClosingBrace fails to fix closing brace within indented PHP tags
2951-
- Fixed bug #1421 : Ternaries used in constant scalar expression for param default misidentified by tokenizer
2952-
- Fixed bug #1431 : PHPCBF can't fix short open tags when they are not followed by a space
2950+
- Fixed bug [#1405] : Squiz.WhiteSpace.ScopeClosingBrace fails to fix closing brace within indented PHP tags
2951+
- Fixed bug [#1421] : Ternaries used in constant scalar expression for param default misidentified by tokenizer
2952+
- Fixed bug [#1431] : PHPCBF can't fix short open tags when they are not followed by a space
29532953
- Thanks to [Gonçalo Queirós][@ghunti] for the patch
2954-
- Fixed bug #1432 : PHPCBF can make invalid fixes to inline JS control structures that make use of JS objects
2954+
- Fixed bug [#1432] : PHPCBF can make invalid fixes to inline JS control structures that make use of JS objects
2955+
2956+
[#946]: https://github.com/squizlabs/PHP_CodeSniffer/pull/946
2957+
[#1266]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1266
2958+
[#1364]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1364
2959+
[#1373]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1373
2960+
[#1381]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1381
2961+
[#1387]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1387
2962+
[#1392]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1392
2963+
[#1394]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1394
2964+
[#1405]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1405
2965+
[#1421]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1421
2966+
[#1431]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1431
2967+
[#1432]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1432
29552968

29562969
## [2.8.1] - 2017-03-02
29572970
### Security
@@ -2989,15 +3002,22 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
29893002
- Squiz.ControlStructures.InlineIfDeclaration is now able to fix the spacing errors it reports
29903003

29913004
### Fixed
2992-
- Fixed bug #1340 : STDIN file contents not being populated in some cases
3005+
- Fixed bug [#1340] : STDIN file contents not being populated in some cases
29933006
- Thanks to [David Biňovec][@david-binda] for the patch
2994-
- Fixed bug #1344 : PEAR.Functions.FunctionCallSignatureSniff throws error for blank comment lines
2995-
- Fixed bug #1347 : PSR2.Methods.FunctionCallSignature strips some comments during fixing
3007+
- Fixed bug [#1344] : PEAR.Functions.FunctionCallSignatureSniff throws error for blank comment lines
3008+
- Fixed bug [#1347] : PSR2.Methods.FunctionCallSignature strips some comments during fixing
29963009
- Thanks to [Algirdas Gurevicius][@uniquexor] for the patch
2997-
- Fixed bug #1349 : Squiz.Strings.DoubleQuoteUsage.NotRequired message is badly formatted when string contains a CR newline char
3010+
- Fixed bug [#1349] : Squiz.Strings.DoubleQuoteUsage.NotRequired message is badly formatted when string contains a CR newline char
29983011
- Thanks to [Algirdas Gurevicius][@uniquexor] for the patch
2999-
- Fixed bug #1350 : Invalid Squiz.Formatting.OperatorBracket error when using namespaces
3000-
- Fixed bug #1369 : Empty line in multi-line function declaration cause infinite loop
3012+
- Fixed bug [#1350] : Invalid Squiz.Formatting.OperatorBracket error when using namespaces
3013+
- Fixed bug [#1369] : Empty line in multi-line function declaration cause infinite loop
3014+
3015+
[#1340]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1340
3016+
[#1344]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1344
3017+
[#1347]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1347
3018+
[#1349]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1349
3019+
[#1350]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1350
3020+
[#1369]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1369
30013021

30023022
## [2.8.0] - 2017-02-02
30033023
### Changed
@@ -3013,13 +3033,13 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
30133033
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
30143034
- The getMethodParameters() method now supports closures
30153035
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
3016-
- Added more guard code for JS files with syntax errors (request #1271 and request #1272)
3017-
- Added more guard code for CSS files with syntax errors (request #1304)
3036+
- Added more guard code for JS files with syntax errors (request [#1271] and request [#1272])
3037+
- Added more guard code for CSS files with syntax errors (request [#1304])
30183038
- PEAR.Commenting.FunctionComment fixers now correctly handle multi-line param comments
30193039
- AbstractVariableSniff now supports anonymous classes
30203040
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
30213041
- Generic.NamingConventions.ConstructorName and PEAR.NamingConventions.ValidVariable now support anonymous classes
3022-
- Generic.NamingConventions.CamelCapsFunctionName and PEAR.NamingConventions.ValidFunctionName now support anonymous classes
3042+
- Generic.NamingConventions.CamelCapsFunctionName and PEAR.NamingConventions.ValidFunctionName now support anonymous classes
30233043
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
30243044
- Generic.CodeAnalysis.UnusedFunctionParameter and PEAR.Functions.ValidDefaultValue now support closures
30253045
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
@@ -3034,30 +3054,52 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
30343054
- Thanks to [Algirdas Gurevicius][@uniquexor] for the patch
30353055

30363056
### Fixed
3037-
- Fixed bug #1230 : JS tokeniser incorrectly tokenises bitwise shifts as comparison
3057+
- Fixed bug [#1230] : JS tokeniser incorrectly tokenises bitwise shifts as comparison
30383058
- Thanks to [Ryan McCue][@rmccue] for the patch
3039-
- Fixed bug #1237 : Uninitialized string offset in PHP Tokenizer on PHP 5.2
3040-
- Fixed bug #1239 : Warning when static method name is 'default'
3041-
- Fixed bug #1240 : False positive for function names starting with triple underscore
3059+
- Fixed bug [#1237] : Uninitialized string offset in PHP Tokenizer on PHP 5.2
3060+
- Fixed bug [#1239] : Warning when static method name is 'default'
3061+
- Fixed bug [#1240] : False positive for function names starting with triple underscore
30423062
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
3043-
- Fixed bug #1245 : SELF is not recognised as T_SELF token in: return new self
3044-
- Fixed bug #1246 : A mix of USE statements with and without braces can cause the tokenizer to mismatch brace tokens
3063+
- Fixed bug [#1245] : SELF is not recognised as T_SELF token in: return new self
3064+
- Fixed bug [#1246] : A mix of USE statements with and without braces can cause the tokenizer to mismatch brace tokens
30453065
- Thanks to [Michał Bundyra][@michalbundyra] for the patch
3046-
- Fixed bug #1249 : GitBlame report requires a .git directory
3047-
- Fixed bug #1252 : Squiz.Strings.ConcatenationSpacing fix creates syntax error when joining a number to a string
3048-
- Fixed bug #1253 : Generic.ControlStructures.InlineControlStructure fix creates syntax error fixing if-try/catch
3049-
- Fixed bug #1255 : Inconsistent indentation check results when ELSE on new line
3050-
- Fixed bug #1257 : Double dash in CSS class name can lead to "Named colours are forbidden" false positives
3051-
- Fixed bug #1260 : Syntax errors not being shown when error_prepend_string is set
3052-
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
3053-
- Fixed bug #1264 : Array return type hint is sometimes detected as T_ARRAY_HINT instead of T_RETURN_TYPE
3066+
- Fixed bug [#1249] : GitBlame report requires a .git directory
3067+
- Fixed bug [#1252] : Squiz.Strings.ConcatenationSpacing fix creates syntax error when joining a number to a string
3068+
- Fixed bug [#1253] : Generic.ControlStructures.InlineControlStructure fix creates syntax error fixing if-try/catch
3069+
- Fixed bug [#1255] : Inconsistent indentation check results when ELSE on new line
3070+
- Fixed bug [#1257] : Double dash in CSS class name can lead to "Named colours are forbidden" false positives
3071+
- Fixed bug [#1260] : Syntax errors not being shown when error_prepend_string is set
3072+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
3073+
- Fixed bug [#1264] : Array return type hint is sometimes detected as T_ARRAY_HINT instead of T_RETURN_TYPE
30543074
- Thanks to [Jaroslav Hanslík][@kukulich] for the patch
3055-
- Fixed bug #1265 : ES6 arrow function raises unexpected operator spacing errors
3056-
- Fixed bug #1267 : Fixer incorrectly handles filepaths with repeated dir names
3075+
- Fixed bug [#1265] : ES6 arrow function raises unexpected operator spacing errors
3076+
- Fixed bug [#1267] : Fixer incorrectly handles filepaths with repeated dir names
30573077
- Thanks to [Sergey Ovchinnikov][@orx0r] for the patch
3058-
- Fixed bug #1276 : Commenting.FunctionComment.InvalidReturnVoid conditional issue with anonymous classes
3059-
- Fixed bug #1277 : Squiz.PHP.DisallowMultipleAssignments.Found error when var assignment is on the same line as an open tag
3060-
- Fixed bug #1284 : Squiz.Arrays.ArrayBracketSpacing.SpaceBeforeBracket false positive match for short list syntax
3078+
- Fixed bug [#1276] : Commenting.FunctionComment.InvalidReturnVoid conditional issue with anonymous classes
3079+
- Fixed bug [#1277] : Squiz.PHP.DisallowMultipleAssignments.Found error when var assignment is on the same line as an open tag
3080+
- Fixed bug [#1284] : Squiz.Arrays.ArrayBracketSpacing.SpaceBeforeBracket false positive match for short list syntax
3081+
3082+
[#1230]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1230
3083+
[#1237]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1237
3084+
[#1239]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1239
3085+
[#1240]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1240
3086+
[#1245]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1245
3087+
[#1246]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1246
3088+
[#1249]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1249
3089+
[#1252]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1252
3090+
[#1253]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1253
3091+
[#1255]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1255
3092+
[#1257]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1257
3093+
[#1260]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1260
3094+
[#1264]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1264
3095+
[#1265]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1265
3096+
[#1267]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1267
3097+
[#1271]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1271
3098+
[#1272]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1272
3099+
[#1276]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1276
3100+
[#1277]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1277
3101+
[#1284]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1284
3102+
[#1304]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1304
30613103

30623104
## [2.7.1] - 2016-11-30
30633105
### Changed

0 commit comments

Comments
 (0)