forked from eliberty/FormElementTypeBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs.dist
38 lines (37 loc) · 1.41 KB
/
.php_cs.dist
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
30
31
32
33
34
35
36
37
38
<?php
return PhpCsFixer\Config::create()
->setUsingCache(false)
->setRules(
[
'@PSR1' => true,
'@PSR2' => true,
'@Symfony' => true,
'@Symfony:risky' => true,
'array_syntax' => ['syntax' => 'short'],
'fopen_flags' => false,
'protected_to_private' => false,
'combine_nested_dirname' => true,
'error_suppression' => false,
'binary_operator_spaces' => [
'default' => 'align_single_space_minimal',
],
'declare_equal_normalize' => [
'space' => 'single',
],
'native_function_invocation' => [
'include' => ['@compiler_optimized'],
'scope' => 'namespaced',
],
'no_superfluous_phpdoc_tags' => false,
]
)
->setRiskyAllowed(true)
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__.'/DependencyInjection')
->in(__DIR__.'/Form')
->in(__DIR__.'/Twig')
->in(__DIR__.'/Validator')
->append([__FILE__])
)
;