-
Notifications
You must be signed in to change notification settings - Fork 3
/
.scrutinizer.yml
40 lines (38 loc) · 1.08 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
# language: php
build:
nodes:
tests: true
analysis:
tests:
override:
-
command: phpcs-run
use_website_config: false
- php-scrutinizer-run
checks:
php:
avoid_closing_tag: true
assignment_of_null_return: true
avoid_duplicate_types: true
code_rating: true
comparison_always_same_result: true
deadlock_detection_in_loops: false
deprecated_code_usage: true
duplication: true
encourage_shallow_comparison: true
fix_doc_comments: true
no_debug_code: true
no_short_open_tag: true
simplify_boolean_return: true
filter:
excluded_paths:
- "tests/"
# Everything in a root level "tests" directory will be excluded
dependency_paths:
- "vendor/"
# Everything in a root level "lib" directory will be excluded from analysis
# but treated as a dependency
tools:
external_code_coverage:
timeout: 300
runs: 2