Repository Config
build:
environment:
php:
version: 7.4.14
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
coverage:
tests:
override:
- command: ./vendor/bin/phpunit --coverage-clover ./logs/coverage.xml
coverage:
file: ./logs/coverage.xml # <- Set this to where we find the coverage data.
# The path is relative to the current directory.
format: clover
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false