-
Notifications
You must be signed in to change notification settings - Fork 3
/
.php_cs
35 lines (34 loc) · 1.31 KB
/
.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
31
32
33
34
35
<?php
return \PhpCsFixer\Config::create()->setRules([
'@Symfony' => true,
'align_multiline_comment' => ['comment_type' => 'phpdocs_like'],
'array_syntax' => ['syntax' => 'short'],
'blank_line_before_statement' => false,
'cast_spaces' => ['space' => 'none'],
'combine_consecutive_unsets' => true,
'concat_space' => ['spacing' => 'one'],
'heredoc_to_nowdoc' => true,
'list_syntax' => null,
'no_extra_consecutive_blank_lines' => ['tokens' => ['continue', 'parenthesis_brace_block', 'extra', 'return']],
'no_multiline_whitespace_before_semicolons' => true,
'no_null_property_initialization' => true,
'no_short_echo_tag' => false,
'no_superfluous_elseif' => true,
'no_unneeded_curly_braces' => true,
'no_unneeded_final_method' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'not_operator_with_space' => false,
'not_operator_with_successor_space' => false,
'phpdoc_add_missing_param_annotation' => true,
'phpdoc_annotation_without_dot' => null,
'phpdoc_no_alias_tag' => false,
'phpdoc_order' => true,
'phpdoc_separation' => false,
'phpdoc_summary' => null,
'phpdoc_to_comment' => false,
'phpdoc_types_order' => true,
'return_type_declaration' => true,
'void_return' => false,
'yoda_style' => false,
]);