Checkout Config
build:
nodes:
analysis:
project_setup:
override: true
tests:
override:
- php-scrutinizer-run --enable-security-analysis
filter:
paths:
- "src/"
excluded_paths:
- "tests/"
- "example/"
checks:
php:
code_rating: true
duplication: true
tools:
external_code_coverage:
timeout: 600
runs: 2
php_loc:
enabled: true
excluded_dirs:
- 'build'
- 'tests'
- 'vendor'
coding_style:
php:
spaces:
around_operators:
concatenation: true
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
environment:
php:
version: 7.2
tests:
override:
-
command: 'vendor/bin/phpunit'
coverage:
file: 'build/logs/clover.xml'
format: 'clover'
checks:
php:
code_rating: true
duplication: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
filter:
excluded_paths: [tests/*]