-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.scrutinizer.yml
More file actions
37 lines (34 loc) · 692 Bytes
/
Copy path.scrutinizer.yml
File metadata and controls
37 lines (34 loc) · 692 Bytes
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
build:
environment:
php:
version: 7.3
dependencies:
after:
- wget -O phpunit.phar https://phar.phpunit.de/phpunit-7.5.8.phar
- chmod +x phpunit.phar
tests:
override:
- command: ./phpunit --coverage-clover=clover.xml
coverage:
file: clover.xml
format: php-clover
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
checks:
php:
code_rating: true
duplication: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
ternary_operator:
in_short_version: false
other:
after_type_cast: true
filter:
paths: ["src/*"]