Skip to content

Commit f69c38d

Browse files
committed
Update braces
1 parent e603dce commit f69c38d

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
@@ -42,6 +42,7 @@ protected function prepareRules() : void
4242
'blank_line_after_opening_tag' => false,
4343
'blank_line_before_statement' => false,
4444
'braces' => [
45+
'allow_single_line_anonymous_class_with_empty_body' => false,
4546
'allow_single_line_closure' => false,
4647
'position_after_anonymous_constructs' => 'same',
4748
'position_after_control_structures' => 'same',
@@ -316,7 +317,8 @@ public function setHeaderComment(string $header) : static
316317
public function setDefaultHeaderComment(
317318
string $packageName,
318319
string $copyright = ''
319-
) : static {
320+
) : static
321+
{
320322
$copyrightLines = "\n";
321323
if ($copyright) {
322324
$copyrightLines .= "\n" . '(c) ' . $copyright . "\n";

0 commit comments

Comments
 (0)