-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.php_cs
31 lines (28 loc) · 788 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
<?php
$finder = Symfony\CS\Finder\DefaultFinder::create()
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests');
return Symfony\CS\Config\Config::create()
->fixers([
'align_double_arrow',
'concat_with_spaces',
'ereg_to_preg',
'multiline_spaces_before_semicolon',
'newline_after_open_tag',
'ordered_use',
'php4_constructor',
'php_unit_construct',
'php_unit_strict',
'short_array_syntax',
'strict',
'strict_param',
'-concat_without_spaces',
'-linefeed',
'-phpdoc_no_empty_return',
'-phpdoc_params',
'-phpdoc_separation',
'-pre_increment',
'-unalign_double_arrow',
'-unary_operators_spaces',
])
->finder($finder);