-
Notifications
You must be signed in to change notification settings - Fork 5
/
.php_cs
26 lines (26 loc) · 769 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
<?php
$finder = PhpCsFixer\Finder::create()
->in([
__DIR__,
]);
$config = PhpCsFixer\Config::create()
->setUsingCache(true)
->setRules([
'@Symfony' => true,
'phpdoc_align' => false,
'phpdoc_summary' => false,
'phpdoc_no_empty_return' => false,
'phpdoc_inline_tag' => false,
'pre_increment' => false,
'heredoc_to_nowdoc' => false,
'cast_spaces' => false,
'include' => false,
'phpdoc_no_package' => false,
'concat_space' => ['spacing' => 'one'],
'ordered_imports' => true,
'array_syntax' => ['syntax' => 'short'],
'self_accessor' => false,
'no_superfluous_phpdoc_tags' => false,
])
->setFinder($finder);
return $config;