-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scrutinizer.yml
55 lines (53 loc) · 1.25 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
filter:
path: [src/*]
excluded_paths:
- tests/*
- vendor/*
- bin/*
- docker/*
- var/*
- src/Kernel.php
dependency_paths:
- "vendor/"
checks:
php:
code_rating: true
duplication: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
remove_extra_empty_lines: true
param_doc_comment_if_not_inferrable: true
no_goto: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: false
fix_line_ending: true
tools:
php_code_sniffer:
enabled: true
config:
standard: PSR2
external_code_coverage: false
build:
image: default-bionic
environment:
php:
version: 7.4
mongodb: false
redis: false
mysql: false
postgresql: false
variables:
APP_ENV: test
dependencies:
override:
- composer install -n --ignore-platform-reqs
tests:
override: true
nodes:
analysis:
tests:
override:
- php-scrutinizer-run