Skip to content

Commit f7ec413

Browse files
authored
Enhancement: Configure braces fixer to allow empty single-line anonymous classes (#230)
1 parent e9d3ba0 commit f7ec413

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.php_cs.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ return $config
4848
'yield',
4949
],
5050
],
51+
'braces' => [
52+
'allow_single_line_anonymous_class_with_empty_body' => true,
53+
],
5154
'cast_spaces' => true,
5255
'class_attributes_separation' => [
5356
'elements' => [

0 commit comments

Comments
 (0)