Checkout Config
# .scrutinizer.yml
checks:
php:
code_rating: true
duplication: true
build:
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
test-and-coverage:
environment:
php:
version: 8.0.9
ini:
'xdebug.mode': 'coverage'
tests:
override:
- command: 'vendor/bin/phpunit --coverage-clover=code-coverage'
coverage:
file: 'code-coverage'
format: 'clover'
Repository Config
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
before_parentheses:
closure_definition: true
around_operators:
concatenation: true