Checkout Config
build:
environment:
php:
version: 7.2
nodes:
coverage:
tests:
override:
- command: composer test
coverage:
file: tests/_reports/logs/clover.xml
# These formats are supported:
# clover, cobertura, jacoco, python-cc, ruby-cc, go-cc, lcov
format: clover
analysis:
tests:
override:
- php-scrutinizer-run --enable-security-analysis
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false