Checkout Config
build:
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
tests-and-coverage:
requires:
- node: analysis
tests:
override:
- command: vendor/bin/phpunit
coverage:
format: clover
file: build/logs/clover.xml
environment:
php:
version: 7.2
filter:
excluded_paths:
- test/
dependency_paths:
- vendor/
checks:
php:
code_rating: true
duplication: false
Repository Config
filter:
excluded_paths:
- 'test/*'
checks:
php: true
coding_style:
php:
indentation:
general:
use_tabs: true
switch:
indent_case: false
spaces:
around_operators:
concatenation: true
build: true