-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.php_cs
37 lines (34 loc) · 855 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
/*
* This file is part of the `aop-io/php-aop` package.
*
* (c) Nicolas Tallefourtane <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code or visit http://aop.io
*
* @copyright Nicolas Tallefourtane http://nicolab.net
*/
// Rules for php-cs-fixer
$finder = Symfony\CS\Finder\DefaultFinder::create()
->in(__DIR__.'/src')
;
return Symfony\CS\Config\Config::create()
->fixers(array(
'indentation',
'linefeed',
'trailing_spaces',
'unused_use',
'visibility',
'php_closing_tag',
'braces',
'extra_empty_lines',
'eof_ending',
'function_declaration',
'controls_spaces',
'psr0',
'elseif',
'phpdoc_params',
))
->finder($finder)
;