-
Notifications
You must be signed in to change notification settings - Fork 3
/
.php_cs
28 lines (26 loc) · 1.15 KB
/
.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
<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__.'/skeleton')
->in(__DIR__.'/src');
return PhpCsFixer\Config::create()
->setRiskyAllowed(false)
->setRules([
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => ['align_double_arrow' => false, 'align_equals' => false],
'no_extra_blank_lines' => false,
'no_empty_comment' => false,
'no_extra_consecutive_blank_lines' => false,
'no_unneeded_control_parentheses' => false,
'not_operator_with_successor_space' => true,
'no_superfluous_phpdoc_tags' => false,
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
'phpdoc_align' => false,
'phpdoc_no_empty_return' => false,
'phpdoc_order' => true,
'pre_increment' => false,
'self_accessor' => false,
'single_trait_insert_per_statement' => false,
'yoda_style' => false,
])
->setFinder($finder);