-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.php_cs.dist
More file actions
29 lines (27 loc) · 824 Bytes
/
.php_cs.dist
File metadata and controls
29 lines (27 loc) · 824 Bytes
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
29
<?php
$finder = PhpCsFixer\Finder::create()
->in(['src', 'tests'])
;
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'@PHPUnit75Migration:risky' => true,
'@PHP73Migration' => true,
'php_unit_dedicate_assert' => ['target' => '5.6'],
'array_syntax' => ['syntax' => 'short'],
'fopen_flags' => false,
'protected_to_private' => false,
'combine_nested_dirname' => true,
'yoda_style' => [
'identical' => false,
'equal' => false,
'less_and_greater' => false,
],
'increment_style' => ['style' => 'post'],
'ordered_imports' => true,
'ordered_class_elements' => true,
])
->setRiskyAllowed(true)
->setFinder($finder)
;