forked from sohoa/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
36 lines (33 loc) · 932 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
<?php
use Symfony\CS\FixerInterface;
$finder = Symfony\CS\Finder\DefaultFinder::create()
->notName('.gitignore')
->notName('.php_cs')
->notName('composer.*')
->notName('*.yml')
->notName('*.md')
->notName('*.phar')
->exclude('vendor')
->exclude('Tests')
->in(__DIR__)
;
return Symfony\CS\Config\Config::create()
// ->fixers(array('indentation',
// 'trailing_spaces',
// '-linefeed',
// 'unused_use',
// 'phpdoc_params',
// 'short_tag',
// 'return',
// 'visibility',
// 'php_closing_tag',
// 'braces',
// 'extra_empty_lines',
// 'function_declaration',
// 'include',
// 'controls_spaces',
// 'psr0',
// 'elseif',
// 'eof_ending'))
->finder($finder)
;