-
-
Notifications
You must be signed in to change notification settings - Fork 255
Expand file tree
/
Copy path.php_cs
More file actions
23 lines (20 loc) · 576 Bytes
/
.php_cs
File metadata and controls
23 lines (20 loc) · 576 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$finder = Finder::create()
->in(['src', 'tests']);
return Config::create()
->setRules([
'@Symfony' => true,
'ordered_imports' => true,
'phpdoc_align' => false,
'phpdoc_to_comment' => false,
'phpdoc_inline_tag' => false,
'yoda_style' => false,
'blank_line_before_statement' => false,
'phpdoc_separation' => false,
'pre_increment' => false,
'increment_style' => false,
'phpdoc_types' => false,
])
->setFinder($finder);