silverstripe-autotoc 

silverstripe-autotoc Git Source Tree

Root/.scrutinizer.yml

1inherit: true
2
3checks:
4 php:
5 verify_property_names: true
6 verify_argument_usable_as_reference: true
7 verify_access_scope_valid: true
8 useless_calls: true
9 use_statement_alias_conflict: true
10 variable_existence: true
11 unused_variables: true
12 unused_properties: true
13 unused_parameters: true
14 unused_methods: true
15 unreachable_code: true
16 too_many_arguments: true
17 sql_injection_vulnerabilities: true
18 simplify_boolean_return: true
19 side_effects_or_types: true
20 security_vulnerabilities: true
21 return_doc_comments: true
22 return_doc_comment_if_not_inferrable: true
23 require_scope_for_properties: true
24 require_scope_for_methods: true
25 require_php_tag_first: true
26 psr2_switch_declaration: true
27 psr2_class_declaration: true
28 property_assignments: true
29 prefer_while_loop_over_for_loop: true
30 precedence_mistakes: true
31 precedence_in_conditions: true
32 phpunit_assertions: true
33 php5_style_constructor: true
34 parse_doc_comments: true
35 parameter_non_unique: true
36 parameter_doc_comments: true
37 param_doc_comment_if_not_inferrable: true
38 optional_parameters_at_the_end: true
39 one_class_per_file: true
40 no_unnecessary_if: true
41 no_trailing_whitespace: true
42 no_property_on_interface: true
43 no_non_implemented_abstract_methods: true
44 no_error_suppression: true
45 no_duplicate_arguments: true
46 no_commented_out_code: true
47 newline_at_end_of_file: true
48 missing_arguments: true
49 method_calls_on_non_object: true
50 instanceof_class_exists: true
51 foreach_traversable: true
52 fix_line_ending: true
53 fix_doc_comments: true
54 duplication: true
55 deprecated_code_usage: true
56 deadlock_detection_in_loops: true
57 code_rating: true
58 closure_use_not_conflicting: true
59 catch_class_exists: true
60 blank_line_after_namespace_declaration: false
61 avoid_multiple_statements_on_same_line: true
62 avoid_duplicate_types: true
63 avoid_conflicting_incrementers: true
64 avoid_closing_tag: true
65 assignment_of_null_return: true
66 argument_type_checks: true
67
68filter:
69 paths: [code/*, tests/*]

Archive Download this file