Checkout Config
build:
environment:
php: 7.3.3
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
- phpcs-run
tests-and-coverage:
tests:
override:
- command: 'php ./vendor/bin/phpunit --coverage-clover=clover.xml'
coverage:
file: clover.xml
format: clover
filter:
paths:
- src/
excluded_paths:
- tests/
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
tests: true
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
other:
after_type_cast: false