Repository Config
build:
environment:
php: 8.2
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
coverage:
tests:
override:
- command: php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-clover=coverage.xml
coverage:
file: coverage.xml
format: clover
filter:
excluded_paths:
- 'tests/*'
- 'vendor/*'
checks:
php:
code_rating: true
duplication: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
braces:
classes_functions:
class: end-of-line
function: end-of-line
indentation:
general:
size: 4