|
1 | 1 | filter: |
2 | | - excluded_paths: [tests/*] |
| 2 | + excluded_paths: |
| 3 | + - build/* |
| 4 | + - tests/* |
| 5 | + - vendor/* |
3 | 6 |
|
4 | 7 | checks: |
5 | | - php: |
6 | | - remove_extra_empty_lines: true |
7 | | - remove_php_closing_tag: true |
8 | | - remove_trailing_whitespace: true |
9 | | - fix_use_statements: |
10 | | - remove_unused: true |
11 | | - preserve_multiple: false |
12 | | - preserve_blanklines: true |
13 | | - order_alphabetically: true |
14 | | - fix_php_opening_tag: true |
15 | | - fix_linefeed: true |
16 | | - fix_line_ending: true |
17 | | - fix_identation_4spaces: true |
18 | | - fix_doc_comments: true |
19 | | - code_rating: true |
20 | | - duplication: true |
| 8 | + php: |
| 9 | + verify_property_names: true |
| 10 | + verify_argument_usable_as_reference: true |
| 11 | + verify_access_scope_valid: true |
| 12 | + variable_existence: true |
| 13 | + useless_calls: true |
| 14 | + use_statement_alias_conflict: true |
| 15 | + unused_variables: true |
| 16 | + unused_properties: true |
| 17 | + unused_parameters: true |
| 18 | + unused_methods: true |
| 19 | + unreachable_code: true |
| 20 | + too_many_arguments: true |
| 21 | + symfony_request_injection: false |
| 22 | + switch_fallthrough_commented: true |
| 23 | + sql_injection_vulnerabilities: true |
| 24 | + simplify_boolean_return: true |
| 25 | + security_vulnerabilities: true |
| 26 | + return_in_constructor: true |
| 27 | + return_doc_comments: true |
| 28 | + return_doc_comment_if_not_inferrable: true |
| 29 | + require_scope_for_methods: true |
| 30 | + require_php_tag_first: true |
| 31 | + remove_extra_empty_lines: true |
| 32 | + property_assignments: true |
| 33 | + properties_in_camelcaps: true |
| 34 | + precedence_mistakes: true |
| 35 | + precedence_in_conditions: true |
| 36 | + phpunit_assertions: true |
| 37 | + parse_doc_comments: true |
| 38 | + parameters_in_camelcaps: true |
| 39 | + parameter_non_unique: true |
| 40 | + parameter_doc_comments: true |
| 41 | + param_doc_comment_if_not_inferrable: true |
| 42 | + overriding_private_members: true |
| 43 | + overriding_parameter: true |
| 44 | + non_commented_empty_catch_block: true |
| 45 | + no_trait_type_hints: true |
| 46 | + no_trailing_whitespace: true |
| 47 | + no_short_variable_names: |
| 48 | + minimum: '3' |
| 49 | + no_short_open_tag: true |
| 50 | + no_short_method_names: |
| 51 | + minimum: '3' |
| 52 | + no_property_on_interface: true |
| 53 | + no_non_implemented_abstract_methods: true |
| 54 | + no_long_variable_names: |
| 55 | + maximum: '20' |
| 56 | + no_goto: true |
| 57 | + no_exit: true |
| 58 | + no_eval: true |
| 59 | + no_error_suppression: true |
| 60 | + no_debug_code: true |
| 61 | + more_specific_types_in_doc_comments: true |
| 62 | + missing_arguments: true |
| 63 | + method_calls_on_non_object: true |
| 64 | + instanceof_class_exists: true |
| 65 | + foreach_usable_as_reference: true |
| 66 | + foreach_traversable: true |
| 67 | + fix_use_statements: |
| 68 | + remove_unused: true |
| 69 | + preserve_multiple: false |
| 70 | + preserve_blanklines: false |
| 71 | + order_alphabetically: true |
| 72 | + fix_line_ending: true |
| 73 | + fix_doc_comments: true |
| 74 | + encourage_shallow_comparison: true |
| 75 | + duplication: true |
| 76 | + deprecated_code_usage: true |
| 77 | + deadlock_detection_in_loops: true |
| 78 | + comparison_always_same_result: true |
| 79 | + code_rating: true |
| 80 | + closure_use_not_conflicting: true |
| 81 | + closure_use_modifiable: true |
| 82 | + check_method_contracts: |
| 83 | + verify_interface_like_constraints: true |
| 84 | + verify_documented_constraints: true |
| 85 | + verify_parent_constraints: true |
| 86 | + catch_class_exists: true |
| 87 | + call_to_parent_method: true |
| 88 | + avoid_superglobals: true |
| 89 | + avoid_length_functions_in_loops: true |
| 90 | + avoid_entity_manager_injection: true |
| 91 | + avoid_duplicate_types: true |
| 92 | + avoid_closing_tag: true |
| 93 | + assignment_of_null_return: true |
| 94 | + argument_type_checks: true |
| 95 | + |
| 96 | +build: |
| 97 | + nodes: |
| 98 | + analysis: |
| 99 | + tests: |
| 100 | + override: |
| 101 | + - php-scrutinizer-run |
21 | 102 |
|
22 | 103 | tools: |
23 | 104 | external_code_coverage: |
|
0 commit comments