You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,13 @@ The file documents changes to the PHP_CodeSniffer project.
29
29
- Squiz.Commenting.FileComment
30
30
- Squiz.Commenting.InlineComment
31
31
- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
32
+
- Added support for `true` as a stand-alone type declaration
33
+
- The `File::getMethodProperties()`, `File::getMethodParameters()` and `File::getMemberProperties()` methods now all support the `true` type.
34
+
- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
35
+
- Added support for `true` as a stand-alone type to a number of sniffs
36
+
- Generic.PHP.LowerCaseType
37
+
- PSr12.Functions.NullableTypeDeclaration
38
+
- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
32
39
- Squiz.Commenting.FunctionComment: new ParamNameUnexpectedAmpersandPrefix error for parameters annotated as passed by reference while the parameter is not passed by reference
33
40
- Thanks to Dan Wallis (@fredden) for the patch
34
41
- Documentation has been added for the following sniffs:
@@ -39,6 +46,7 @@ The file documents changes to the PHP_CodeSniffer project.
39
46
- Support for PHPUnit 8 and 9 to the test suite.
40
47
- Test suites for external standards which run via the PHPCS native test suite can now run on PHPUnit 4-9 (was 4-7).
41
48
- If any of these tests use the PHPUnit `setUp()`/`tearDown()` methods or overload the `setUp()` in the `AbstractSniffUnitTest` test case, they will need to be adjusted. See the [PR details for further information](https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/59/commits/26384ebfcc0b1c1651b0e1e40c9b6c8c22881832).
49
+
- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
42
50
43
51
### Changed
44
52
- Changes have been made to the way PHPCS handles invalid sniff properties being set in a custom ruleset
@@ -69,6 +77,7 @@ The file documents changes to the PHP_CodeSniffer project.
69
77
- Squiz.PHP.InnerFunctions sniff no longer reports on OO methods for OO structures declared within a function or closure
70
78
- Thanks to @Daimona for the patch
71
79
- Runtime performance improvement for PHPCS CLI users. The improvement should be most noticeable for users on Windows.
80
+
- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
0 commit comments