|
| 1 | +checks: |
| 2 | + php: |
| 3 | + use_self_instead_of_fqcn: true |
| 4 | + uppercase_constants: true |
| 5 | + simplify_boolean_return: true |
| 6 | + return_doc_comment_if_not_inferrable: true |
| 7 | + remove_extra_empty_lines: true |
| 8 | + prefer_while_loop_over_for_loop: true |
| 9 | + parameter_doc_comments: true |
| 10 | + param_doc_comment_if_not_inferrable: true |
| 11 | + optional_parameters_at_the_end: true |
| 12 | + no_short_method_names: |
| 13 | + minimum: '3' |
| 14 | + no_long_variable_names: |
| 15 | + maximum: '25' |
| 16 | + no_goto: true |
| 17 | + newline_at_end_of_file: true |
| 18 | + naming_conventions: |
| 19 | + local_variable: '^[a-z][a-z_0-9]*$' |
| 20 | + abstract_class_name: ^Abstract|Factory$ |
| 21 | + utility_class_name: 'Utils?$' |
| 22 | + constant_name: '^[A-Z][A-Z0-9]*(?:_[A-Z0-9]+)*$' |
| 23 | + property_name: '^[a-z][a-z_0-9]*$' |
| 24 | + method_name: '^(?:[a-z]|__)[a-z_0-9]*$' |
| 25 | + parameter_name: '^[a-z][a-z_0-9]*$' |
| 26 | + interface_name: '^[A-Z][a-zA-Z0-9_]*Interface$' |
| 27 | + type_name: '^[A-Z][a-zA-Z0-9_]*$' |
| 28 | + exception_name: '^[A-Z][a-zA-Z0-9_]*Exception$' |
| 29 | + isser_method_name: '^(?:is|has|should|may|supports)' |
| 30 | + more_specific_types_in_doc_comments: true |
| 31 | + fix_line_ending: true |
| 32 | + fix_use_statements: |
| 33 | + remove_unused: true |
| 34 | + preserve_multiple: false |
| 35 | + preserve_blanklines: false |
| 36 | + order_alphabetically: true |
| 37 | + encourage_single_quotes: true |
| 38 | + encourage_postdec_operator: true |
| 39 | + avoid_todo_comments: true |
| 40 | + avoid_perl_style_comments: true |
| 41 | + avoid_multiple_statements_on_same_line: true |
| 42 | + avoid_fixme_comments: true |
| 43 | + align_assignments: true |
| 44 | + no_global_keyword: false |
| 45 | + one_class_per_file: false |
| 46 | + side_effects_or_types: false |
| 47 | + avoid_superglobals: false |
| 48 | + |
| 49 | +tools: |
| 50 | + sensiolabs_security_checker: true |
0 commit comments