Checkout Config
build:
image: default-bionic
environment:
php:
version: 8.3.0
tests:
override:
- composer install --no-interaction
-
command: XDEBUG_MODE=coverage php vendor/bin/phpunit --coverage-clover=coverage.xml
coverage:
file: coverage.xml
format: clover
filter:
paths:
- src/
checks:
php:
code_rating: true
duplication: true
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
filter:
excluded_paths:
- 'test/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true