build:
environment:
php:
version: 7.1
tests:
override:
-
command: vendor/bin/phpunit --coverage-clover=my-coverage-file
coverage:
file: my-coverage-file
format: php-clover
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
tests: true
filter:
excluded_paths:
- 'tests/*'
- 'vendor/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
within:
brackets: true