Checkout Config
build:
image: default-bionic
environment:
php:
version: "8.1"
nodes:
coverage:
tests:
override:
- command: XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-clover build/coverage-clover.xml tests
coverage:
file: build/coverage-clover.xml
format: clover
filter:
paths:
- 'src/'
tools:
php_mess_detector:
enabled: true
filter:
paths:
- 'src/'
php_code_sniffer:
enabled: false
php_pdepend:
enabled: true
configuration_file: null
suffixes:
- php
excluded_dirs: { }
filter:
paths:
- 'src/'
php_analyzer:
enabled: true
extensions:
- php
filter:
paths:
- 'src/'
path_configs: { }
php_loc:
enabled: true
excluded_dirs:
- 'vendor/*'
- 'tests/*'
- '.phpstorm.meta.php'
php_cpd:
enabled: true
excluded_dirs: { }
filter:
paths:
- 'src/'
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
tests: true
filter:
excluded_paths:
- 'tests/*'
- 'bin/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true