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
@@ -131,6 +131,13 @@ The file documents changes to the PHP_CodeSniffer project.
131
131
- Squiz.Commenting.FileComment
132
132
- Squiz.Commenting.InlineComment
133
133
- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
134
+
- Added support for `true` as a stand-alone type declaration
135
+
- The `File::getMethodProperties()`, `File::getMethodParameters()` and `File::getMemberProperties()` methods now all support the `true` type.
136
+
- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
137
+
- Added support for `true` as a stand-alone type to a number of sniffs
138
+
- Generic.PHP.LowerCaseType
139
+
- PSr12.Functions.NullableTypeDeclaration
140
+
- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
134
141
- Squiz.Commenting.FunctionComment: new ParamNameUnexpectedAmpersandPrefix error for parameters annotated as passed by reference while the parameter is not passed by reference
135
142
- Thanks to Dan Wallis (@fredden) for the patch
136
143
- Documentation has been added for the following sniffs:
@@ -141,6 +148,7 @@ The file documents changes to the PHP_CodeSniffer project.
141
148
- Support for PHPUnit 8 and 9 to the test suite.
142
149
- Test suites for external standards which run via the PHPCS native test suite can now run on PHPUnit 4-9 (was 4-7).
143
150
- 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).
151
+
- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
144
152
145
153
### Changed
146
154
- Changes have been made to the way PHPCS handles invalid sniff properties being set in a custom ruleset
@@ -171,6 +179,7 @@ The file documents changes to the PHP_CodeSniffer project.
171
179
- Squiz.PHP.InnerFunctions sniff no longer reports on OO methods for OO structures declared within a function or closure
172
180
- Thanks to @Daimona for the patch
173
181
- Runtime performance improvement for PHPCS CLI users. The improvement should be most noticeable for users on Windows.
182
+
- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
0 commit comments