forked from maxbrokman/SafeQueue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
46 lines (44 loc) · 1.22 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
<?php
$finder = Symfony\CS\Finder\DefaultFinder::create()
->exclude('vendor')
->in(__DIR__ . "/src")
->in(__DIR__ . "/tests");
return Symfony\CS\Config\Config::create()
->setUsingCache(true)
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
->fixers(array(
'psr4',
'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);