Checkout Config
# .scrutinizer.yml
build:
dependencies:
before:
- rm composer.lock
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=coverage'
coverage:
file: 'coverage'
format: 'php-clover'
nodes:
php56:
environment:
php: 5.6
php70:
environment:
php: 7.0
php71:
environment:
php: 7.1
php72:
environment:
php: 7.2
php73:
environment:
php: 7.3
checks:
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- tests/*
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
environment:
node:
version: 6.0.0
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true