Checkout Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
-
command: 'vendor/bin/phpunit --coverage-clover=coverage.xml'
coverage:
file: 'coverage.xml'
format: 'clover'
filter:
excluded_paths:
- 'tests/*'
checks:
php:
parameter_doc_comments: true
remove_trailing_whitespace: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: true
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
environment:
php: 8.0
image: default-bionic
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php: { }