Skip to content

Commit e595655

Browse files
authored
Add multiline_whitespace_before_semicolons (#2)
With this change we will remove any whitespaces before a semicolon e.g. - return 1 + 2 - ; + return 1 + 2; https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/doc/rules/semicolon/multiline_whitespace_before_semicolons.rst
1 parent af90c37 commit e595655

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/RuleSet/TicketSwapRuleSet.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ public static function create() : RuleSet
132132
'on_multiline' => 'ensure_fully_multiline',
133133
'attribute_placement' => 'standalone',
134134
],
135+
'multiline_whitespace_before_semicolons' => true,
135136
'native_function_casing' => true,
136137
'native_type_declaration_casing' => true,
137138
'new_expression_parentheses' => true,

0 commit comments

Comments
 (0)