Checkout Config
build:
image: default-bionic
environment:
php:
version: 8.1.30
ini:
xdebug.mode: coverage
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
- command: vendor/bin/phpcs -n --standard=PSR12 --ignore=./vendor/ --extensions=php ./
- command: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover /home/scrutinizer/build/clover.xml
coverage:
file: /home/scrutinizer/build/clover.xml
format: clover
tests: true
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
Repository Config
build:
image: default-bionic
environment:
variables:
BOS_KEY: 'b5ef09a145fa4cfb885f12be27927e63'
BOS_SECRET: '795ffd2b64034930b8eebeb752fab030'
php:
version: 8.1.30
ini:
xdebug.mode: coverage
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
- command: vendor/bin/phpcs -n --standard=PSR12 --ignore=./vendor/ --extensions=php ./
- command: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover /home/scrutinizer/build/clover.xml
coverage:
file: /home/scrutinizer/build/clover.xml
format: clover
tests: true
filter:
excluded_paths:
- 'tests/*'
checks:
php: true