forked from pietercolpaert/hardf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
28 lines (27 loc) · 763 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
26
27
28
<?php
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'array_syntax' => ['syntax' => 'short'],
'fopen_flags' => false,
'no_empty_phpdoc' => true,
'no_unused_imports' => true,
'no_superfluous_phpdoc_tags' => true,
'ordered_imports' => true,
'phpdoc_summary' => false,
'protected_to_private' => false,
'combine_nested_dirname' => true,
])
->setRiskyAllowed(true)
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__.'/bin')
->in(__DIR__.'/perf')
->in(__DIR__.'/src')
->in(__DIR__.'/test')
->name('*.php')
->append([
__FILE__,
])
);