Checkout Config
build:
image: default-bionic
environment:
php:
version: 8.1.18
ini:
xdebug.mode: coverage
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
my-tests-with-coverage:
tests:
override:
- command: vendor/bin/phpunit --coverage-clover=my-coverage-file
coverage:
file: my-coverage-file
format: php-clover
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:
around_operators:
concatenation: true
other:
after_type_cast: false