forked from redaxo/redaxo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
33 lines (31 loc) · 913 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
<?php
$finder = PhpCsFixer\Finder::create()
->exclude('demo_base')
->exclude('sprog')
->exclude('watson')
->exclude('yform')
->exclude('yrewrite')
->exclude('fragments')
->exclude('releases')
->notPath('src/core/boot.php')
->in(__DIR__)
;
return PhpCsFixer\Config::create()
->setUsingCache(true)
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'concat_without_spaces' => false,
'blank_line_before_return' => false,
'simplified_null_return' => false,
'method_separation' => false,
'no_unreachable_default_argument_value' => false,
'no_blank_lines_after_phpdoc' => false,
'phpdoc_no_package' => false,
'phpdoc_to_comment' => false,
'phpdoc_var_without_name' => false,
'short_array_syntax' => true,
'no_php4_constructor' => true,
])
->finder($finder)
;