forked from captainhookphp/captainhook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
32 lines (31 loc) · 873 Bytes
/
.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
build:
environment:
php:
version: '8.2'
dependencies:
before:
- wget -O composer.phar https://getcomposer.org/composer.phar
- chmod +x composer.phar
- ./composer.phar install
- ./tools/phive install --force-accept-unsigned --trust-gpg-keys 4AA394086372C20A,31C7E470E2138192,8E730BA25823D8B5,CF1A108D0E7AE720,2DF45277AEF09A2F,51C67305FFC2E5C0
nodes:
coverage:
tests:
override:
- command: XDEBUG_MODE=coverage php ./tools/phpunit --coverage-clover=clover.xml
coverage:
file: clover.xml
format: clover
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