Checkout Config
filter:
excluded_paths:
- 'vendor/*'
build:
environment:
php:
version: 8.0
nodes:
analysis:
project_setup:
override: true
tests:
override:
- php-scrutinizer-run --enable-security-analysis
coverage:
tests:
override:
- command: make coverage
coverage:
file: clover.xml
# These formats are supported:
# clover, cobertura, jacoco, python-cc, ruby-cc, go-cc, lcov
format: clover
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:
bitwise: false
concatenation: true
other:
after_type_cast: false