Skip to content

Commit e0bb06c

Browse files
authored
Merge pull request #301 from rodrigoprimo/changelog-improvements-3-5-6
Add links to all issues in the 3.5.7 and 3.5.6 sections of the changelog
2 parents adab01e + 0a83ace commit e0bb06c

File tree

1 file changed

+60
-31
lines changed

1 file changed

+60
-31
lines changed

CHANGELOG.md

+60-31
Original file line numberDiff line numberDiff line change
@@ -755,9 +755,9 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
755755
## [3.5.7] - 2020-10-23
756756
### Added
757757
- The PHP 8.0 T_NULLSAFE_OBJECT_OPERATOR token has been made available for older versions
758-
- Existing sniffs that check for T_OBJECT_OPERATOR have been modified to apply the same rules for the nullsafe object operator
758+
- Existing sniffs that check for T_OBJECT_OPERATOR have been modified to apply the same rules for the nullsafe object operator
759759
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
760-
- The new method of PHP 8.0 tokenizing for namespaced names has been revert to thr pre 8.0 method
760+
- The new method of PHP 8.0 tokenizing for namespaced names has been reverted to the pre 8.0 method
761761
- This maintains backwards compatible for existing sniffs on PHP 8.0
762762
- This change will be removed in PHPCS 4.0 as the PHP 8.0 tokenizing method will be backported for pre 8.0 versions
763763
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
@@ -778,37 +778,57 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
778778
### Fixed
779779
- Fixed Squiz.Formatting.OperatorBracket false positive when exiting with a negative number
780780
- Fixed Squiz.PHP.DisallowComparisonAssignment false positive for methods called on an object
781-
- Fixed bug #2882 : Generic.Arrays.ArrayIndent can request close brace indent to be less than the statement indent level
782-
- Fixed bug #2883 : Generic.WhiteSpace.ScopeIndent.Incorrect issue after NOWDOC
783-
- Fixed bug #2975 : Undefined offset in PSR12.Functions.ReturnTypeDeclaration when checking function return type inside ternary
784-
- Fixed bug #2988 : Undefined offset in Squiz.Strings.ConcatenationSpacing during live coding
781+
- Fixed bug [#2882] : Generic.Arrays.ArrayIndent can request close brace indent to be less than the statement indent level
782+
- Fixed bug [#2883] : Generic.WhiteSpace.ScopeIndent.Incorrect issue after NOWDOC
783+
- Fixed bug [#2975] : Undefined offset in PSR12.Functions.ReturnTypeDeclaration when checking function return type inside ternary
784+
- Fixed bug [#2988] : Undefined offset in Squiz.Strings.ConcatenationSpacing during live coding
785785
- Thanks to [Thiemo Kreuz][@thiemowmde] for the patch
786-
- Fixed bug #2989 : Incorrect auto-fixing in Generic.ControlStructures.InlineControlStructure during live coding
786+
- Fixed bug [#2989] : Incorrect auto-fixing in Generic.ControlStructures.InlineControlStructure during live coding
787787
- Thanks to [Thiemo Kreuz][@thiemowmde] for the patch
788-
- Fixed bug #3007 : Directory exclude pattern improperly excludes directories with names that start the same
788+
- Fixed bug [#3007] : Directory exclude pattern improperly excludes directories with names that start the same
789789
- Thanks to [Steve Talbot][@SteveTalbot] for the patch
790-
- Fixed bug #3043 : Squiz.WhiteSpace.OperatorSpacing false positive for negation in arrow function
790+
- Fixed bug [#3043] : Squiz.WhiteSpace.OperatorSpacing false positive for negation in arrow function
791791
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
792-
- Fixed bug #3049 : Incorrect error with arrow function and parameter passed as reference
792+
- Fixed bug [#3049] : Incorrect error with arrow function and parameter passed as reference
793793
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
794-
- Fixed bug #3053 : PSR2 incorrect fix when multiple use statements on same line do not have whitespace between them
795-
- Fixed bug #3058 : Progress gets unaligned when 100% happens at the end of the available dots
796-
- Fixed bug #3059 : Squiz.Arrays.ArrayDeclaration false positive when using type casting
794+
- Fixed bug [#3053] : PSR2 incorrect fix when multiple use statements on same line do not have whitespace between them
795+
- Fixed bug [#3058] : Progress gets unaligned when 100% happens at the end of the available dots
796+
- Fixed bug [#3059] : Squiz.Arrays.ArrayDeclaration false positive when using type casting
797797
- Thanks to [Sergei Morozov][@morozov] for the patch
798-
- Fixed bug #3060 : Squiz.Arrays.ArrayDeclaration false positive for static functions
798+
- Fixed bug [#3060] : Squiz.Arrays.ArrayDeclaration false positive for static functions
799799
- Thanks to [Sergei Morozov][@morozov] for the patch
800-
- Fixed bug #3065 : Should not fix Squiz.Arrays.ArrayDeclaration.SpaceBeforeComma if comment between element and comma
800+
- Fixed bug [#3065] : Should not fix Squiz.Arrays.ArrayDeclaration.SpaceBeforeComma if comment between element and comma
801801
- Thanks to [Sergei Morozov][@morozov] for the patch
802-
- Fixed bug #3066 : No support for namespace operator used in type declarations
802+
- Fixed bug [#3066] : No support for namespace operator used in type declarations
803803
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
804-
- Fixed bug #3075 : PSR12.ControlStructures.BooleanOperatorPlacement false positive when operator is the only content on line
805-
- Fixed bug #3099 : Squiz.WhiteSpace.OperatorSpacing false positive when exiting with negative number
804+
- Fixed bug [#3075] : PSR12.ControlStructures.BooleanOperatorPlacement false positive when operator is the only content on line
805+
- Fixed bug [#3099] : Squiz.WhiteSpace.OperatorSpacing false positive when exiting with negative number
806806
- Thanks to [Sergei Morozov][@morozov] for the patch
807-
- Fixed bug #3102 : PSR12.Squiz.OperatorSpacing false positive for default values of arrow functions
808-
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
809-
- Fixed bug #3124 : PSR-12 not reporting error for empty lines with only whitespace
810-
- Fixed bug #3135 : Ignore annotations are broken on PHP 8.0
811-
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
807+
- Fixed bug [#3102] : PSR12.Squiz.OperatorSpacing false positive for default values of arrow functions
808+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
809+
- Fixed bug [#3124] : PSR-12 not reporting error for empty lines with only whitespace
810+
- Fixed bug [#3135] : Ignore annotations are broken on PHP 8.0
811+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
812+
813+
[#2882]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2882
814+
[#2883]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2883
815+
[#2975]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2975
816+
[#2988]: https://github.com/squizlabs/PHP_CodeSniffer/pull/2988
817+
[#2989]: https://github.com/squizlabs/PHP_CodeSniffer/pull/2989
818+
[#3007]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3007
819+
[#3043]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3043
820+
[#3049]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3049
821+
[#3053]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3053
822+
[#3058]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3058
823+
[#3059]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3059
824+
[#3060]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3060
825+
[#3065]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3065
826+
[#3066]: https://github.com/squizlabs/PHP_CodeSniffer/pull/3066
827+
[#3075]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3075
828+
[#3099]: https://github.com/squizlabs/PHP_CodeSniffer/pull/3099
829+
[#3102]: https://github.com/squizlabs/PHP_CodeSniffer/pull/3102
830+
[#3124]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3124
831+
[#3135]: https://github.com/squizlabs/PHP_CodeSniffer/pull/3135
812832

813833
## [3.5.6] - 2020-08-10
814834
### Added
@@ -833,19 +853,28 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
833853
- Thanks to [Michał Bundyra][@michalbundyra] for the patch
834854

835855
### Fixed
836-
- Fixed bug #2877 : PEAR.Functions.FunctionCallSignature false positive for array of functions
856+
- Fixed bug [#2877] : PEAR.Functions.FunctionCallSignature false positive for array of functions
837857
- Thanks to [Vincent Langlet][@VincentLanglet] for the patch
838-
- Fixed bug #2888 : PSR12.Files.FileHeader blank line error with multiple namespaces in one file
839-
- Fixed bug #2926 : phpcs hangs when using arrow functions that return heredoc
840-
- Fixed bug #2943 : Redundant semicolon added to a file when fixing PSR2.Files.ClosingTag.NotAllowed
841-
- Fixed bug #2967 : Markdown generator does not output headings correctly
858+
- Fixed bug [#2888] : PSR12.Files.FileHeader blank line error with multiple namespaces in one file
859+
- Fixed bug [#2926] : phpcs hangs when using arrow functions that return heredoc
860+
- Fixed bug [#2943] : Redundant semicolon added to a file when fixing PSR2.Files.ClosingTag.NotAllowed
861+
- Fixed bug [#2967] : Markdown generator does not output headings correctly
842862
- Thanks to [Petr Bugyík][@o5] for the patch
843-
- Fixed bug #2977 : File::isReference() does not detect return by reference for closures
863+
- Fixed bug [#2977] : File::isReference() does not detect return by reference for closures
844864
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
845-
- Fixed bug #2994 : Generic.Formatting.DisallowMultipleStatements false positive for FOR loop with no body
846-
- Fixed bug #3033 : Error generated during tokenizing of goto statements on PHP 8
865+
- Fixed bug [#2994] : Generic.Formatting.DisallowMultipleStatements false positive for FOR loop with no body
866+
- Fixed bug [#3033] : Error generated during tokenizing of goto statements on PHP 8
847867
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
848868

869+
[#2877]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2877
870+
[#2888]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2888
871+
[#2926]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2926
872+
[#2943]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2943
873+
[#2967]: https://github.com/squizlabs/PHP_CodeSniffer/pull/2967
874+
[#2977]: https://github.com/squizlabs/PHP_CodeSniffer/pull/2977
875+
[#2994]: https://github.com/squizlabs/PHP_CodeSniffer/issues/2994
876+
[#3033]: https://github.com/squizlabs/PHP_CodeSniffer/pull/3033
877+
849878
## [3.5.5] - 2020-04-17
850879
### Changed
851880
- The T_FN backfill now works more reliably so T_FN tokens only ever represent real arrow functions

0 commit comments

Comments
 (0)