-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path.php_cs
25 lines (23 loc) · 924 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
<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__.'/app')
->in(__DIR__.'/config')
->in(__DIR__.'/database')
->in(__DIR__.'/resources/lang')
->in(__DIR__.'/routes')
->in(__DIR__.'/tests');
return PhpCsFixer\Config::create()
->setRiskyAllowed(false)
->setRules([
'@Symfony' => true,
'no_empty_comment' => false,
'no_extra_consecutive_blank_lines' => false,
'not_operator_with_successor_space' => true,
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
'phpdoc_align' => false,
'phpdoc_no_empty_return' => false,
'single_trait_insert_per_statement' => false,
'no_unused_imports' => false,
'yoda_style' => false,
])
->setFinder($finder);