Skip to content

Commit b3ae720

Browse files
committed
Update single_space_around_construct rule
1 parent 3dcc555 commit b3ae720

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Config.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,9 @@ protected function prepareRules() : void
271271
'single_line_after_imports' => true,
272272
'single_line_comment_style' => true,
273273
'single_quote' => true,
274-
'single_space_around_construct' => true,
274+
'single_space_around_construct' => [
275+
'constructs_followed_by_a_single_space' => ['echo', 'new', 'throw'],
276+
],
275277
'space_after_semicolon' => true,
276278
'spaces_inside_parentheses' => [
277279
'space' => 'none',

0 commit comments

Comments
 (0)