Checkout Config
build:
environment:
php:
version: "7.1.6"
tests:
override:
-
command: 'phpunit --coverage-clover=coverage.xml'
coverage:
file: 'coverage.xml'
format: 'clover'
checks:
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- "tests/"
tools:
php_code_sniffer:
config:
standard: "PSR2"
php_cs_fixer:
config: { level: psr2 }
Repository Config
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php: { }
build:
nodes:
analysis:
project_setup:
override: ['true']
tests:
override: [php-scrutinizer-run]
tests: true