forked from LinioPay/idle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.php_cs
More file actions
20 lines (18 loc) · 655 Bytes
/
.php_cs
File metadata and controls
20 lines (18 loc) · 655 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
$finder = PhpCsFixer\Finder::create()
->exclude(__DIR__ . '/tests/Fixtures/config')
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests');
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
'combine_consecutive_unsets' => true,
'concat_space' => ['spacing' => 'one'],
'return_type_declaration' => ['space_before' => 'one'],
'no_unreachable_default_argument_value' => false,
'yoda_style' => false,
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
'pre_increment' => false,
])
->setFinder($finder);