Checkout Config
filter:
paths: [src/*]
excluded_paths: [tests/*]
checks:
php:
code_rating: true
tools:
external_code_coverage:
timeout: 600
runs: 3
php_code_coverage: false
php_loc:
enabled: true
excluded_dirs: [tests, vendor]
php_cpd:
enabled: true
excluded_dirs: [tests, vendor]
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/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true