forked from csanquer/PdoServiceProvider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
33 lines (31 loc) · 760 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
<?php
$finder = Symfony\CS\Finder\DefaultFinder::create()
->exclude(array(
'vendor',
'cache',
'logs',
))
->notName('/.*\.(ico|gif|png|jpeg|jpg|bmp|tiff|mp3|wma|wmv|avi|flv|swf|zip|bz2|gz|tar|7z|lzma|doc|docx|csv|xls|xlsx|ppt|pptx|odt|log|phar|jar)/')
->in(__DIR__.'/src')
;
return Symfony\CS\Config\Config::create()
->fixers(array(
'indentation',
'linefeed',
'trailing_spaces',
'unused_use',
'phpdoc_params',
'visibility',
'return',
'short_tag',
'braces',
'include',
'php_closing_tag',
'extra_empty_lines',
//'psr0',
'controls_spaces',
'elseif',
'eof_ending',
))
->finder($finder)
;