forked from scherzetto/scherzetto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
38 lines (38 loc) · 830 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
32
33
34
35
36
37
38
build:
environment:
php:
version: '7.2'
node: 'v8.15.0'
variables:
APP_ENV: test
dependencies:
before:
- composer install
project_setup:
before:
- mysql -e "CREATE DATABASE myblog;"
tests:
override:
-
command: ./vendor/bin/phpunit --bootstrap ./vendor/autoload.php ./tests/ --coverage-clover ./docs/coverage/xml --whitelist ./src
coverage:
file: ./docs/coverage/xml
format: php-clover
filter:
excluded_paths:
- vendor/*
checks:
php: true
coding_style:
php:
spaces:
before_parentheses:
function_declaration: false
closure_definition: true
function_call: false
if: true
for: true
while: true
switch: true
catch: true
array_initializer: false