1+ {
2+ "preset" : " psr12" ,
3+ "rules" : {
4+ "align_multiline_comment" : true ,
5+ "array_indentation" : true ,
6+ "array_push" : true ,
7+ "array_syntax" : true ,
8+ "assign_null_coalescing_to_coalesce_equal" : true ,
9+ "blank_line_after_namespace" : true ,
10+ "blank_line_after_opening_tag" : true ,
11+ "combine_consecutive_issets" : true ,
12+ "combine_consecutive_unsets" : true ,
13+ "concat_space" : {
14+ "spacing" : " one"
15+ },
16+ "declare_parentheses" : true ,
17+ "explicit_indirect_variable" : true ,
18+ "explicit_string_variable" : true ,
19+ "final_class" : false ,
20+ "fully_qualified_strict_types" : true ,
21+ "global_namespace_import" : {
22+ "import_classes" : true ,
23+ "import_functions" : true
24+ },
25+ "is_null" : true ,
26+ "lambda_not_used_import" : true ,
27+ "logical_operators" : true ,
28+ "mb_str_functions" : true ,
29+ "method_argument_space" : {
30+ "on_multiline" : " ensure_fully_multiline"
31+ },
32+ "method_chaining_indentation" : true ,
33+ "modernize_strpos" : true ,
34+ "modernize_types_casting" : true ,
35+ "new_with_braces" : true ,
36+ "no_empty_comment" : true ,
37+ "no_superfluous_elseif" : false ,
38+ "no_useless_else" : true ,
39+ "not_operator_with_successor_space" : true ,
40+ "nullable_type_declaration_for_default_null_value" : true ,
41+ "ordered_class_elements" : {
42+ "order" : [
43+ " use_trait" ,
44+ " case" ,
45+ " constant" ,
46+ " constant_public" ,
47+ " constant_protected" ,
48+ " constant_private" ,
49+ " property_public" ,
50+ " property_protected" ,
51+ " property_private" ,
52+ " construct" ,
53+ " destruct" ,
54+ " magic" ,
55+ " phpunit" ,
56+ " method_abstract" ,
57+ " method_public_static" ,
58+ " method_public" ,
59+ " method_protected_static" ,
60+ " method_protected" ,
61+ " method_private_static" ,
62+ " method_private"
63+ ],
64+ "sort_algorithm" : " none"
65+ },
66+ "ordered_imports" : {
67+ "sort_algorithm" : " alpha"
68+ },
69+ "ordered_traits" : true ,
70+ "protected_to_private" : true ,
71+ "simplified_if_return" : true ,
72+ "strict_comparison" : true ,
73+ "ternary_to_null_coalescing" : true ,
74+ "trim_array_spaces" : true ,
75+ "use_arrow_functions" : true ,
76+ "void_return" : false ,
77+ "yoda_style" : false
78+ },
79+ "exclude" : [
80+ " vendor" ,
81+ " storage" ,
82+ " bootstrap/cache"
83+ ]
84+ }
0 commit comments