-
Notifications
You must be signed in to change notification settings - Fork 3
/
.php_cs
52 lines (50 loc) · 1.31 KB
/
.php_cs
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
$finder = Symfony\CS\Finder\DefaultFinder::create()
->exclude([
'vendor',
'storage',
'public',
'resources/assets',
'node_modules',
'bootstrap'
])
->in(__DIR__);
return Symfony\CS\Config\Config::create()
->setUsingCache(true)
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
->fixers(array(
'psr0',
'encoding',
'short_tag',
'blankline_after_open_tag',
'namespace_no_leading_whitespace',
'no_blank_lines_after_class_opening',
'single_array_no_trailing_comma',
'no_empty_lines_after_phpdocs',
'concat_with_spaces',
'eof_ending',
'ordered_use',
'extra_empty_lines',
'single_line_after_imports',
'trailing_spaces',
'remove_lines_between_uses',
'return',
'indentation',
'linefeed',
'braces',
'visibility',
'unused_use',
'whitespacy_lines',
'php_closing_tag',
'phpdoc_order',
'phpdoc_params',
'phpdoc_trim',
'phpdoc_scalar',
'short_array_syntax',
'align_double_arrow',
'align_equals',
'lowercase_constants',
'lowercase_keywords',
'multiple_use',
'line_after_namespace',
))->finder($finder);