Skip to content

Commit 7d116df

Browse files
committed
wip
1 parent 74b1d6b commit 7d116df

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.php-cs-fixer.dist.php

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,22 @@
88
->in(__DIR__)
99
->exclude('vendor')
1010
->exclude('test')
11-
->exclude('tests');
11+
->exclude('tests')
12+
;
1213

1314
$config = new PhpCsFixer\Config();
14-
1515
return $config->setRules([
1616
'@PSR12' => true,
1717
'phpdoc_order' => true,
18-
'array_syntax' => [ 'syntax' => 'short' ],
18+
'array_syntax' => ['syntax' => 'short'],
19+
'single_line_comment_style' => ['comment_types' => ['hash']],
1920
'strict_comparison' => true,
2021
'strict_param' => true,
21-
'no_trailing_whitespace' => false,
22-
'no_trailing_whitespace_in_comment' => false,
23-
'braces' => false,
24-
'single_blank_line_at_eof' => false,
25-
'blank_line_after_namespace' => false,
26-
'no_leading_import_slash' => false,
22+
'phpdoc_indent' => true,
23+
'phpdoc_no_package' => true,
24+
'phpdoc_scalar' => true,
25+
'trailing_comma_in_multiline' => ['elements' => ['arrays']],
26+
'declare_strict_types' => true,
2727
])
28-
->setFinder($finder);
28+
->setFinder($finder)
29+
;

0 commit comments

Comments
 (0)