forked from acantepie/umbrella
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.php_cs.dist
26 lines (24 loc) · 842 Bytes
/
.php_cs.dist
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__ . '/Bundle/*/src');
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'@DoctrineAnnotation' => true,
'phpdoc_summary' => false,
'no_unneeded_final_method' => false,
'no_superfluous_phpdoc_tags' => true,
'concat_space' => ['spacing' => 'one'],
'phpdoc_to_comment' => false,
'array_syntax' => ['syntax' => 'short'],
'ordered_imports' => ['sort_algorithm' => 'alpha'],
'fully_qualified_strict_types' => true,
'trailing_comma_in_multiline_array' => false,
'header_comment' => [
'header' => ''
],
'blank_line_before_statement' => []
])
->setRiskyAllowed(true)
->setFinder($finder)
->setCacheFile(__DIR__.'/.php_cs.cache');