Skip to content

Commit f8a1cbb

Browse files
committed
Changelog for #2827 (ref #2822)
1 parent 1141cb8 commit f8a1cbb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.xml

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ http://pear.php.net/dtd/package-2.0.xsd">
3434
- Fixed detection of array return types for arrow functions
3535
- Added Generic.PHP.DisallowRequestSuperglobal to ban the use of the $_REQUEST superglobal
3636
-- 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
3740
- PSR12.ControlStructures.BooleanOperatorPlacement can now be configured to enforce a specific operator position
3841
-- By default, the sniff ensures that operators are all at the begining or end of lines, but not a mix of both
3942
-- Set the allowOnly property to "first" to enforce all boolean operators to be at the start of a line

0 commit comments

Comments
 (0)