-
Notifications
You must be signed in to change notification settings - Fork 7
/
.scrutinizer.yml
79 lines (75 loc) · 2.42 KB
/
.scrutinizer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# language: php
build:
nodes:
analysis:
project_setup:
override: true
tests:
override: [php-scrutinizer-run]
filter:
excluded_paths: [tests/*]
checks:
php:
avoid_closing_tag: true
avoid_perl_style_comments: true
avoid_usage_of_logical_operators: true
blank_line_after_namespace_declaration: true
catch_class_exists: true
classes_in_camel_caps: true
closure_use_not_conflicting: true
code_rating: true
deprecated_code_usage: true
encourage_postdec_operator: true
encourage_single_quotes: true
fix_line_ending: true
fix_use_statements:
order_alphabetically: true
preserve_blanklines: false
preserve_multiple: false
remove_unused: true
foreach_traversable: true
function_in_camel_caps: true
instanceof_class_exists: true
newline_at_end_of_file: true
no_commented_out_code: true
no_error_suppression: true
no_global_keyword: true
no_non_implemented_abstract_methods: true
no_property_on_interface: true
no_short_open_tag: false
no_trailing_whitespace: true
no_underscore_prefix_in_methods: true
no_underscore_prefix_in_properties: true
one_class_per_file: true
overriding_private_members: true
parameter_doc_comments: true
parameter_non_unique: true
parse_doc_comments: true
php5_style_constructor: true
precedence_in_conditions: true
precedence_mistakes: true
prefer_while_loop_over_for_loop: true
psr2_class_declaration: true
psr2_switch_declaration: true
require_php_tag_first: true
require_scope_for_methods: true
require_scope_for_properties: true
side_effects_or_types: true
too_many_arguments: true
unreachable_code: true
unused_methods: true
unused_parameters: false
unused_properties: true
unused_variables: true
uppercase_constants: true
use_self_instead_of_fqcn: true
use_statement_alias_conflict: true
useless_calls: true
variable_existence: true
verify_access_scope_valid: true
verify_property_names: true
tools:
external_code_coverage:
timeout: 600
runs: 3
php_code_coverage: false