We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e603dce commit f69c38dCopy full SHA for f69c38d
src/Config.php
@@ -42,6 +42,7 @@ protected function prepareRules() : void
42
'blank_line_after_opening_tag' => false,
43
'blank_line_before_statement' => false,
44
'braces' => [
45
+ 'allow_single_line_anonymous_class_with_empty_body' => false,
46
'allow_single_line_closure' => false,
47
'position_after_anonymous_constructs' => 'same',
48
'position_after_control_structures' => 'same',
@@ -316,7 +317,8 @@ public function setHeaderComment(string $header) : static
316
317
public function setDefaultHeaderComment(
318
string $packageName,
319
string $copyright = ''
- ) : static {
320
+ ) : static
321
+ {
322
$copyrightLines = "\n";
323
if ($copyright) {
324
$copyrightLines .= "\n" . '(c) ' . $copyright . "\n";
0 commit comments