forked from atoum/atoum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
31 lines (29 loc) · 845 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
use Symfony\CS;
return
CS\Config::create()
->level(CS\FixerInterface::PSR2_LEVEL)
->fixers([
'blankline_after_open_tag',
'concat_with_spaces',
'join_function',
'native_function_casing',
'no_blank_lines_after_class_opening',
'ordered_use',
'phpdoc_no_access',
'remove_leading_slash_use',
'remove_leading_slash_uses',
'self_accessor',
'short_array_syntax',
'spaces_cast',
'unused_use',
'whitespacy_lines'
])
->finder(
CS\Finder::create()
->files()
->name(__FILE__)
->name('*.php')
->name('*.php.dist')
->in(__DIR__)
);