forked from LauLamanApps/iZettleApi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs.dist
26 lines (26 loc) · 862 Bytes
/
.php_cs.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'phpdoc_align' => false,
'phpdoc_summary' => false,
'concat_space' => ['spacing' => 'one'],
'no_multiline_whitespace_before_semicolons' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'ordered_imports' => true,
'phpdoc_order' => true,
'array_syntax' => ['syntax' => 'short'],
'no_short_echo_tag' => true,
'pre_increment' => false,
'yoda_style' => false,
'blank_line_before_statement' => ['statements' => ['break', 'continue', 'declare', 'return', 'throw', 'try']],
])
->setFinder(
PhpCsFixer\Finder::create()
->exclude('bin')
->exclude('coverage')
->exclude('vendor')
->in(__DIR__)
)
;