|
| 1 | +filter: |
| 2 | + paths: |
| 3 | + - 'src/*' |
| 4 | +checks: |
| 5 | + php: |
| 6 | + uppercase_constants: true |
| 7 | + return_doc_comments: true |
| 8 | + avoid_todo_comments: true |
| 9 | + classes_in_camel_caps: true |
| 10 | + newline_at_end_of_file: true |
| 11 | + no_goto: true |
| 12 | + parameter_doc_comments: true |
| 13 | + return_doc_comment_if_not_inferrable: true |
| 14 | + properties_in_camelcaps: true |
| 15 | + prefer_while_loop_over_for_loop: true |
| 16 | + phpunit_assertions: true |
| 17 | + parameters_in_camelcaps: true |
| 18 | + param_doc_comment_if_not_inferrable: true |
| 19 | + overriding_parameter: true |
| 20 | + optional_parameters_at_the_end: true |
| 21 | + no_short_variable_names: |
| 22 | + minimum: '1' |
| 23 | + no_short_method_names: |
| 24 | + minimum: '3' |
| 25 | + no_long_variable_names: |
| 26 | + maximum: '36' |
| 27 | + more_specific_types_in_doc_comments: true |
| 28 | + line_length: |
| 29 | + max_length: '120' |
| 30 | + function_in_camel_caps: true |
| 31 | + encourage_single_quotes: true |
| 32 | + encourage_postdec_operator: true |
| 33 | + check_method_contracts: |
| 34 | + verify_interface_like_constraints: true |
| 35 | + verify_documented_constraints: true |
| 36 | + verify_parent_constraints: true |
| 37 | + avoid_perl_style_comments: true |
| 38 | + avoid_multiple_statements_on_same_line: true |
| 39 | + avoid_fixme_comments: true |
| 40 | + custom_coding_standard: |
| 41 | + ruleset_path: phpcs.xml |
| 42 | + naming_conventions: |
| 43 | + local_variable: '^[a-z][a-zA-Z0-9]*$' |
| 44 | + abstract_class_name: ^Abstract|Factory$ |
| 45 | + utility_class_name: '^[A-Z][a-zA-Z0-9]*$' |
| 46 | + constant_name: '^[A-Z][A-Z0-9]*(?:_[A-Z0-9]+)*$' |
| 47 | + property_name: '^[a-z][a-zA-Z0-9]*$' |
| 48 | + method_name: '^(?:[a-z]|__)[a-zA-Z0-9]*$' |
| 49 | + parameter_name: '^[a-z][a-zA-Z0-9]*$' |
| 50 | + interface_name: '^[A-Z][a-zA-Z0-9]*Interface$' |
| 51 | + type_name: '^[A-Z][a-zA-Z0-9]*$' |
| 52 | + exception_name: '^[A-Z][a-zA-Z0-9]*Exception$' |
| 53 | + isser_method_name: '^(?:is|has|should|may|supports)' |
| 54 | + |
| 55 | +coding_style: |
| 56 | + php: |
| 57 | + indentation: |
| 58 | + general: |
| 59 | + size: 1 |
| 60 | + spaces: |
| 61 | + around_operators: |
| 62 | + concatenation: true |
| 63 | +tools: |
| 64 | + external_code_coverage: |
| 65 | + timeout: 600 |
| 66 | +build: true |
0 commit comments