Checkout Config
checks:
php: true
filter:
paths:
- src/*
build:
environment:
php:
version: 8.2
ini:
xdebug.mode: coverage
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
phpunit:
dependencies:
override:
- composer self-update
- composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
tests:
override:
- command: ./vendor/bin/phpunit --coverage-clover ./coverage.xml --exclude functional
on_node: 1
coverage:
file: coverage.xml
format: php-clover
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:
- 'test/*'
checks:
php: true
coding_style:
php:
indentation:
general:
size: 1
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false