forked from orchestral/html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
25 lines (23 loc) · 984 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__.'/config')
->in(__DIR__.'/resources')
->in(__DIR__.'/src')
->in(__DIR__.'/tests');
return PhpCsFixer\Config::create()
->setRiskyAllowed(false)
->setRules([
'@Symfony' => true,
'binary_operator_spaces' => ['align_double_arrow' => false, 'align_equals' => false],
'no_empty_comment' => false,
'no_extra_consecutive_blank_lines' => false,
'not_operator_with_successor_space' => true,
'ordered_imports' => ['sortAlgorithm' => 'length'],
'phpdoc_align' => false,
'phpdoc_no_empty_return' => false,
'phpdoc_order' => true,
'pre_increment' => false,
'single_trait_insert_per_statement' => false,
'yoda_style' => false,
])
->setFinder($finder);