-
-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy path.scrutinizer.yml
More file actions
31 lines (31 loc) · 742 Bytes
/
.scrutinizer.yml
File metadata and controls
31 lines (31 loc) · 742 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
build:
environment:
php:
version: '7.3'
dependencies:
before:
- wget -O composer.phar https://getcomposer.org/composer.phar
- chmod +x composer.phar
- ./composer.phar install
- wget -O phpunit.phar https://phar.phpunit.de/phpunit-7.5.9.phar
- chmod +x phpunit.phar
tests:
override:
- command: ./phpunit.phar --coverage-clover=clover.xml
coverage:
file: clover.xml
format: php-clover
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
coding_style:
php:
spaces:
around_operators:
concatenation: true
ternary_operator:
in_short_version: false
other:
after_type_cast: true