@@ -356,9 +356,11 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
356
356
357
357
## [ 3.7.1] - 2022-06-18
358
358
### Fixed
359
- - Fixed bug #3609 : Methods/constants with name empty/isset/unset are always reported as error
359
+ - Fixed bug [ #3609 ] : Methods/constants with name empty/isset/unset are always reported as error
360
360
- Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
361
361
362
+ [ #3609 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3609
363
+
362
364
## [ 3.7.0] - 2022-06-13
363
365
### Added
364
366
- Added support for PHP 8.1 explicit octal notation
@@ -371,7 +373,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
371
373
- Thanks to [ Jaroslav Hanslík] [ @kukulich ] for the patch
372
374
- Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for additional core and sniff support
373
375
- Added support for the PHP 8.1 readonly token
374
- - Tokenzing of the readonly keyword has been backfilled for PHP versions less than 8.1
376
+ - Tokenizing of the readonly keyword has been backfilled for PHP versions less than 8.1
375
377
- Thanks to [ Jaroslav Hanslík] [ @kukulich ] for the patch
376
378
- Added support for PHP 8.1 intersection types
377
379
- Includes a new T_TYPE_INTERSECTION token to represent the ampersand character inside intersection types
@@ -403,24 +405,35 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
403
405
- Thanks to [ Jaroslav Hanslík] [ @kukulich ] for the patch
404
406
405
407
### Fixed
406
- - Fixed bug #3502 : A match statement within an array produces Squiz.Arrays.ArrayDeclaration.NoKeySpecified
407
- - Fixed bug #3503 : Squiz.Commenting.FunctionComment.ThrowsNoFullStop false positive when one line @throw
408
- - Fixed bug #3505 : The nullsafe operator is not counted in Generic.Metrics.CyclomaticComplexity
408
+ - Fixed bug [ #3502 ] : A match statement within an array produces Squiz.Arrays.ArrayDeclaration.NoKeySpecified
409
+ - Fixed bug [ #3503 ] : Squiz.Commenting.FunctionComment.ThrowsNoFullStop false positive when one line @throw
410
+ - Fixed bug [ #3505 ] : The nullsafe operator is not counted in Generic.Metrics.CyclomaticComplexity
409
411
- Thanks to [ Mark Baker] [ @MarkBaker ] for the patch
410
- - Fixed bug #3526 : PSR12.Properties.ConstantVisibility false positive when using public final const syntax
412
+ - Fixed bug [ #3526 ] : PSR12.Properties.ConstantVisibility false positive when using public final const syntax
411
413
- Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
412
- - Fixed bug #3530 : Line indented incorrectly false positive when using match-expression inside switch case
413
- - Fixed bug #3534 : Name of typed enum tokenized as T_GOTO_LABEL
414
+ - Fixed bug [ #3530 ] : Line indented incorrectly false positive when using match-expression inside switch case
415
+ - Fixed bug [ #3534 ] : Name of typed enum tokenized as T_GOTO_LABEL
414
416
- Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
415
- - Fixed bug #3546 : Tokenizer/PHP: bug fix - parent/static keywords in class instantiations
417
+ - Fixed bug [ #3546 ] : Tokenizer/PHP: bug fix - parent/static keywords in class instantiations
416
418
- Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
417
- - Fixed bug #3550 : False positive from PSR2.ControlStructures.SwitchDeclaration.TerminatingComment when using trailing comment
419
+ - Fixed bug [ #3550 ] : False positive from PSR2.ControlStructures.SwitchDeclaration.TerminatingComment when using trailing comment
418
420
- Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
419
- - Fixed bug #3575 : Squiz.Scope.MethodScope misses visibility keyword on previous line
421
+ - Fixed bug [ #3575 ] : Squiz.Scope.MethodScope misses visibility keyword on previous line
420
422
- Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
421
- - Fixed bug #3604 : Tokenizer/PHP: bug fix for double quoted strings using ${
423
+ - Fixed bug [ #3604 ] : Tokenizer/PHP: bug fix for double quoted strings using ${
422
424
- Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
423
425
426
+ [ #3502 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3502
427
+ [ #3503 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3503
428
+ [ #3505 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3505
429
+ [ #3526 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3526
430
+ [ #3530 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3530
431
+ [ #3534 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/3534
432
+ [ #3546 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/3546
433
+ [ #3550 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3550
434
+ [ #3575 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/3575
435
+ [ #3604 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/3604
436
+
424
437
## [ 3.6.2] - 2021-12-13
425
438
### Changed
426
439
- Processing large code bases that use tab indenting inside comments and strings will now be faster
0 commit comments