Checkout Config
# .scrutinizer.yml
build:
environment:
php:
version: 7.1
tests:
override:
-
command: 'vendor/bin/phpunit --verbose --bootstrap test/bootstrap.php -c test/phpunit.xml.dist'
coverage:
file: 'tmp/coverage-clover.xml'
format: 'clover'
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
tests: true
filter:
excluded_paths:
- 'test/*'
checks:
php: true
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
around_operators:
concatenation: true
within:
brackets: true