build:
environment:
php:
version: "7.1.4"
tests:
override:
-
command: 'phpunit --coverage-clover=coverage.xml'
coverage:
file: 'coverage.xml'
format: 'clover'
checks:
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- "tests/"
tools:
php_code_sniffer:
config:
standard: "PSR2"
php_cs_fixer:
config: { level: psr2 }
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true