forked from ezsystems/ezplatform-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
32 lines (31 loc) · 874 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
<?php
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'concat_space' => ['spacing' => 'one'],
'array_syntax' => false,
'simplified_null_return' => false,
'phpdoc_align' => false,
'phpdoc_separation' => false,
'phpdoc_to_comment' => false,
'cast_spaces' => false,
'blank_line_after_opening_tag' => false,
'phpdoc_no_alias_tag' => false,
])
->setRiskyAllowed(true)
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude([
'vendor',
'bin/.ci',
'bin/.travis',
'doc',
'app/cache',
'var/cache',
'ezpublish_legacy',
])
->files()->name('*.php')
)
;