@@ -510,45 +510,68 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
510510 - Squiz.Commenting.VariableComment
511511 - Squiz.WhiteSpace.MemberVarSpacing
512512 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
513- - Fixed bug #3294 : Bug in attribute tokenization when content contains PHP end token or attribute closer on new line
513+ - Fixed bug [ #3294 ] : Bug in attribute tokenization when content contains PHP end token or attribute closer on new line
514514 - Thanks to [ Alessandro Chitolina] [ @alekitto ] for the patch
515515 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the tests
516- - Fixed bug #3296 : PSR2.ControlStructures.SwitchDeclaration takes phpcs: ignore as content of case body
517- - Fixed bug #3297 : PSR2.ControlStructures.SwitchDeclaration.TerminatingComment does not handle try/finally blocks
516+ - Fixed bug [ #3296 ] : PSR2.ControlStructures.SwitchDeclaration takes phpcs: ignore as content of case body
517+ - Fixed bug [ #3297 ] : PSR2.ControlStructures.SwitchDeclaration.TerminatingComment does not handle try/finally blocks
518518 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
519- - Fixed bug #3302 : PHP 8.0 | Tokenizer/PHP: bugfix for union types using namespace operator
519+ - Fixed bug [ #3302 ] : PHP 8.0 | Tokenizer/PHP: bugfix for union types using namespace operator
520520 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
521- - Fixed bug #3303 : findStartOfStatement() doesn't work with T_OPEN_TAG_WITH_ECHO
522- - Fixed bug #3316 : Arrow function not tokenized correctly when using null in union type
523- - Fixed bug #3317 : Problem with how phpcs handles ignored files when running in parallel
521+ - Fixed bug [ #3303 ] : findStartOfStatement() doesn't work with T_OPEN_TAG_WITH_ECHO
522+ - Fixed bug [ #3316 ] : Arrow function not tokenized correctly when using null in union type
523+ - Fixed bug [ #3317 ] : Problem with how phpcs handles ignored files when running in parallel
524524 - Thanks to [ Emil Andersson] [ @emil-nasso ] for the patch
525- - Fixed bug #3324 : PHPCS hangs processing some nested arrow functions inside a function call
526- - Fixed bug #3326 : Generic.Formatting.MultipleStatementAlignment error with const DEFAULT
525+ - Fixed bug [ #3324 ] : PHPCS hangs processing some nested arrow functions inside a function call
526+ - Fixed bug [ #3326 ] : Generic.Formatting.MultipleStatementAlignment error with const DEFAULT
527527 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
528- - Fixed bug #3333 : Squiz.Objects.ObjectInstantiation: null coalesce operators are not recognized as assignment
528+ - Fixed bug [ #3333 ] : Squiz.Objects.ObjectInstantiation: null coalesce operators are not recognized as assignment
529529 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
530- - Fixed bug #3340 : Ensure interface and trait names are always tokenized as T_STRING
530+ - Fixed bug [ #3340 ] : Ensure interface and trait names are always tokenized as T_STRING
531531 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
532- - Fixed bug #3342 : PSR12/Squiz/PEAR standards all error on promoted properties with docblocks
532+ - Fixed bug [ #3342 ] : PSR12/Squiz/PEAR standards all error on promoted properties with docblocks
533533 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
534- - Fixed bug #3345 : IF statement with no braces and double catch turned into syntax error by auto-fixer
534+ - Fixed bug [ #3345 ] : IF statement with no braces and double catch turned into syntax error by auto-fixer
535535 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
536- - Fixed bug #3352 : PSR2.ControlStructures.SwitchDeclaration can remove comments on the same line as the case statement while fixing
536+ - Fixed bug [ #3352 ] : PSR2.ControlStructures.SwitchDeclaration can remove comments on the same line as the case statement while fixing
537537 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
538- - Fixed bug #3357 : Generic.Functions.OpeningFunctionBraceBsdAllman removes return type when additional lines are present
538+ - Fixed bug [ #3357 ] : Generic.Functions.OpeningFunctionBraceBsdAllman removes return type when additional lines are present
539539 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
540- - Fixed bug #3362 : Generic.WhiteSpace.ScopeIndent false positive for arrow functions inside arrays
541- - Fixed bug #3384 : Squiz.Commenting.FileComment.SpacingAfterComment false positive on empty file
542- - Fixed bug #3394 : Fix PHP 8.1 auto_detect_line_endings deprecation notice
543- - Fixed bug #3400 : PHP 8.1: prevent deprecation notices about missing return types
540+ - Fixed bug [ #3362 ] : Generic.WhiteSpace.ScopeIndent false positive for arrow functions inside arrays
541+ - Fixed bug [ #3384 ] : Squiz.Commenting.FileComment.SpacingAfterComment false positive on empty file
542+ - Fixed bug [ #3394 ] : Fix PHP 8.1 auto_detect_line_endings deprecation notice
543+ - Fixed bug [ #3400 ] : PHP 8.1: prevent deprecation notices about missing return types
544544 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
545- - Fixed bug #3424 : PHPCS fails when using PHP 8 Constructor property promotion with attributes
545+ - Fixed bug [ #3424 ] : PHPCS fails when using PHP 8 Constructor property promotion with attributes
546546 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
547- - Fixed bug #3425 : PHP 8.1 | Runner::processChildProcs(): fix passing null to non-nullable bug
547+ - Fixed bug [ #3425 ] : PHP 8.1 | Runner::processChildProcs(): fix passing null to non-nullable bug
548548 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
549- - Fixed bug #3445 : Nullable parameter after attribute incorrectly tokenized as ternary operator
549+ - Fixed bug [ #3445 ] : Nullable parameter after attribute incorrectly tokenized as ternary operator
550550 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
551551
552+ [ #3294 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3294
553+ [ #3296 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3296
554+ [ #3297 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3297
555+ [ #3302 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/3302
556+ [ #3303 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3303
557+ [ #3316 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3316
558+ [ #3317 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3317
559+ [ #3324 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3324
560+ [ #3326 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3326
561+ [ #3333 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3333
562+ [ #3340 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/3340
563+ [ #3342 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3342
564+ [ #3345 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3345
565+ [ #3352 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3352
566+ [ #3357 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3357
567+ [ #3362 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3362
568+ [ #3384 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3384
569+ [ #3394 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/3394
570+ [ #3400 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/3400
571+ [ #3424 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3424
572+ [ #3425 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/3425
573+ [ #3445 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/3445
574+
552575## [ 3.6.0] - 2021-04-09
553576### Added
554577- Added support for PHP 8.0 union types
0 commit comments