File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ http://pear.php.net/dtd/package-2.0.xsd">
34
34
- Fixed detection of array return types for arrow functions
35
35
- Added Generic.PHP.DisallowRequestSuperglobal to ban the use of the $_REQUEST superglobal
36
36
-- Thanks to Morerice for the contribution
37
+ - Generic.ControlStructures.InlineControlStructure no longer shows errors for WHILE and FOR statements without a body
38
+ -- Previously it required these to have curly braces, but there were no statements to enclose in them
39
+ -- Thanks to Juliette Reinders Folmer for the patch
37
40
- PSR12.ControlStructures.BooleanOperatorPlacement can now be configured to enforce a specific operator position
38
41
-- By default, the sniff ensures that operators are all at the begining or end of lines, but not a mix of both
39
42
-- Set the allowOnly property to "first" to enforce all boolean operators to be at the start of a line
You can’t perform that action at this time.
0 commit comments