Skip to content

Commit 87ec150

Browse files
author
Mario Blazek
committed
PHP CS fixer conf
1 parent ecc43ab commit 87ec150

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.php_cs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?php
2+
3+
return Symfony\CS\Config\Config::create()
4+
->setUsingLinter(false)
5+
->setUsingCache(true)
6+
->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL)
7+
->fixers([
8+
'concat_with_spaces',
9+
'-concat_without_spaces',
10+
'-empty_return',
11+
'-phpdoc_params',
12+
'-phpdoc_separation',
13+
'-phpdoc_to_comment',
14+
'-spaces_cast',
15+
'-blankline_after_open_tag',
16+
'-single_blank_line_before_namespace',
17+
])
18+
->finder(
19+
Symfony\CS\Finder\DefaultFinder::create()
20+
->in(__DIR__)
21+
->exclude([
22+
'extension',
23+
'vendor',
24+
'Tests/_fixtures',
25+
])
26+
->files()->name('*.php')
27+
)
28+
;

0 commit comments

Comments
 (0)