-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.php_cs
28 lines (27 loc) · 877 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()
->setRiskyAllowed(true)
->setUsingCache(false)
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'combine_consecutive_unsets' => true,
'dir_constant' => true,
'array_syntax' => ['syntax' => 'short'],
'no_useless_else' => true,
'no_useless_return' => true,
'ordered_class_elements' => true,
'ordered_imports' => true,
'concat_space' => ['spacing' => 'one'],
'psr4' => true,
'strict_comparison' => true,
'strict_param' => true,
'phpdoc_align' => false,
'phpdoc_order' => true,
'phpdoc_add_missing_param_annotation' => true,
'modernize_types_casting' => true,
'no_php4_constructor' => true,
'php_unit_construct' => true,
'php_unit_strict' => true,
])
;