Checkout Config
build:
environment:
php:
version: 7.4.7
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
tests:
override:
- command: 'vendor/bin/phpunit --coverage-clover=coverage.xml'
coverage:
file: 'coverage.xml'
format: 'php-clover'
filter:
excluded_paths:
- ".github/"
- "examples/"
- "tests/"
- "vendor/"
- "configs/"
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true