forked from AppStateESS/phpwebsite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
62 lines (56 loc) · 1.71 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
# .scrutinizer.yml
build:
environment:
php:
version: '5.4.28'
filter:
excluded_paths:
- tests/*
#this takes about 2min 30sec to run. Need a faster build
tools:
php_mess_detector: false
#take approximtely 2 min to run. Need a faster build
tools:
php_analyzer:
config:
metrics_coupling:
enabled: false
stable_code:
namespace_prefixes: []
classes: []
checks:
php:
code_rating: true
duplication: false
variable_existence: false
useless_calls: true
use_statement_alias_conflict: true
unused_variables: false
unused_properties: false
unused_parameters: false
unused_methods: false
unreachable_code: false
sql_injection_vulnerabilities: true
security_vulnerabilities: true
precedence_mistakes: true
precedence_in_conditions: true
parameter_non_unique: true
no_property_on_interface: true
no_non_implemented_abstract_methods: false
deprecated_code_usage: true
closure_use_not_conflicting: true
closure_use_modifiable: true
avoid_useless_overridden_methods: false
avoid_conflicting_incrementers: true
assignment_of_null_return: false
argument_type_checks: false
avoid_unnecessary_concatenation: false
method_calls_on_non_object: true
no_duplicate_arguments: true
no_error_suppression: true
no_short_open_tag: true
no_unnecessary_final_modifier: true
spacing_around_conditional_operators: true
filter:
excluded_paths:
- lib/*