forked from Rebilly/rebilly-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.php_cs
37 lines (37 loc) · 1019 Bytes
/
.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
<?php
return Symfony\CS\Config\Config::create()
->finder(
Symfony\CS\Finder\DefaultFinder::create()
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests')
)
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
->fixers([
'-psr0',
'phpdoc_indent',
'phpdoc_no_access',
'phpdoc_no_package',
'phpdoc_scalar',
// 'phpdoc_separation',
// 'phpdoc_short_description',
// 'phpdoc_to_comment',
'phpdoc_trim',
'phpdoc_type_to_var',
'operators_spaces',
'unary_operators_spaces',
'unused_use',
// 'ordered_use',
'short_array_syntax',
// 'return',
'spaces_before_semicolon',
'spaces_cast',
'ternary_spaces',
'eof_ending',
'duplicate_semicolon',
// 'empty_return',
'join_function',
'object_operator',
'remove_lines_between_uses',
'standardize_not_equal',
'whitespacy_lines',
]);