|
| 1 | +{ |
| 2 | + "preset": "psr12", |
| 3 | + "exclude": [ |
| 4 | + "src" |
| 5 | + ], |
| 6 | + "notPath": [ |
| 7 | + ".phpunit.result.cache" |
| 8 | + ], |
| 9 | + "rules": { |
| 10 | + "align_multiline_comment": true, |
| 11 | + "array_indentation": true, |
| 12 | + "array_syntax": true, |
| 13 | + "assign_null_coalescing_to_coalesce_equal": true, |
| 14 | + "binary_operator_spaces": true, |
| 15 | + "blank_line_before_statement": { |
| 16 | + "statements": [ |
| 17 | + "break", |
| 18 | + "continue", |
| 19 | + "declare", |
| 20 | + "return", |
| 21 | + "throw", |
| 22 | + "try" |
| 23 | + ] |
| 24 | + }, |
| 25 | + "cast_spaces": true, |
| 26 | + "class_attributes_separation": { |
| 27 | + "elements": { |
| 28 | + "method": "one" |
| 29 | + } |
| 30 | + }, |
| 31 | + "clean_namespace": true, |
| 32 | + "combine_consecutive_issets": true, |
| 33 | + "combine_consecutive_unsets": true, |
| 34 | + "declare_strict_types": true, |
| 35 | + "doctrine_annotation_indentation": true, |
| 36 | + "doctrine_annotation_spaces": true, |
| 37 | + "fully_qualified_strict_types": true, |
| 38 | + "function_typehint_space": true, |
| 39 | + "global_namespace_import": true, |
| 40 | + "heredoc_indentation": true, |
| 41 | + "include": true, |
| 42 | + "lambda_not_used_import": true, |
| 43 | + "linebreak_after_opening_tag": true, |
| 44 | + "list_syntax": true, |
| 45 | + "magic_constant_casing": true, |
| 46 | + "magic_method_casing": true, |
| 47 | + "method_argument_space": { |
| 48 | + "on_multiline": "ensure_fully_multiline", |
| 49 | + "keep_multiple_spaces_after_comma": true |
| 50 | + }, |
| 51 | + "method_chaining_indentation": true, |
| 52 | + "multiline_comment_opening_closing": true, |
| 53 | + "multiline_whitespace_before_semicolons": true, |
| 54 | + "native_function_casing": true, |
| 55 | + "native_function_type_declaration_casing": true, |
| 56 | + "no_alias_language_construct_call": true, |
| 57 | + "no_alternative_syntax": true, |
| 58 | + "no_empty_comment": true, |
| 59 | + "no_empty_statement": true, |
| 60 | + "no_extra_blank_lines": true, |
| 61 | + "no_leading_namespace_whitespace": true, |
| 62 | + "no_mixed_echo_print": true, |
| 63 | + "no_multiline_whitespace_around_double_arrow": true, |
| 64 | + "no_multiple_statements_per_line": true, |
| 65 | + "no_singleline_whitespace_before_semicolons": true, |
| 66 | + "no_spaces_around_offset": true, |
| 67 | + "no_unneeded_import_alias": true, |
| 68 | + "no_unused_imports": true, |
| 69 | + "no_whitespace_before_comma_in_array": true, |
| 70 | + "no_whitespace_in_blank_line": true, |
| 71 | + "not_operator_with_space": true, |
| 72 | + "not_operator_with_successor_space": true, |
| 73 | + "php_unit_fqcn_annotation": true, |
| 74 | + "phpdoc_line_span": { |
| 75 | + "const": "single", |
| 76 | + "method": "single", |
| 77 | + "property": "single" |
| 78 | + }, |
| 79 | + "phpdoc_scalar": true, |
| 80 | + "phpdoc_single_line_var_spacing": true, |
| 81 | + "phpdoc_var_without_name": true, |
| 82 | + "simple_to_complex_string_variable": true, |
| 83 | + "simplified_if_return": true, |
| 84 | + "single_quote": true, |
| 85 | + "standardize_not_equals": true, |
| 86 | + "trailing_comma_in_multiline": true, |
| 87 | + "trim_array_spaces": true, |
| 88 | + "types_spaces": true, |
| 89 | + "unary_operator_spaces": true, |
| 90 | + "whitespace_after_comma_in_array": true |
| 91 | + } |
| 92 | +} |
0 commit comments