forked from scrivo/highlight.php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs.dist
31 lines (29 loc) · 829 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
27
28
29
30
31
<?php
$finder = PhpCsFixer\Finder::create()
->in('demo')
->in('Highlight')
->in('HighlightUtilities')
->in('test')
;
return PhpCsFixer\Config::create()
->setRules([
'@PSR1' => true,
'@PSR2' => true,
'@Symfony' => true,
'array_syntax' => ['syntax' => 'long'],
'concat_space' => ['spacing' => 'one'],
'no_useless_else' => true,
'no_useless_return' => true,
'phpdoc_align' => true,
'phpdoc_order' => true,
'phpdoc_trim_consecutive_blank_line_separation' => true,
'single_quote' => false,
'ternary_to_null_coalescing' => true,
'trailing_comma_in_multiline_array' => true,
'yoda_style' => [
'equal' => false,
'identical' => false,
],
])
->setFinder($finder)
;