-
Notifications
You must be signed in to change notification settings - Fork 4
/
.php_cs
30 lines (28 loc) · 984 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
29
30
<?php
$finder = PhpCsFixer\Finder::create()->in(__DIR__);
return PhpCsFixer\Config::create()
->setRules(array(
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
'blank_line_before_return' => false,
'cast_spaces' => false,
'concat_space' => false,
'linebreak_after_opening_tag' => true,
'modernize_types_casting' => true,
'no_empty_comment' => false,
'no_empty_phpdoc' => false,
'no_empty_statement' => false,
'no_multiline_whitespace_before_semicolons' => true,
'no_unneeded_control_parentheses' => false,
'ordered_class_elements' => true,
'ordered_imports' => true,
'phpdoc_align' => false,
'phpdoc_annotation_without_dot' => false,
'pre_increment' => false,
'psr4' => true,
'strict_param' => true,
'trailing_comma_in_multiline_array' => false
))
->setRiskyAllowed(true)
->setFinder($finder)
;