Checkout Config
checks:
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- spec/*
build:
environment:
variables:
COMPOSER_MEMORY_LIMIT: -1
dependencies:
before:
- pecl install xdebug
- echo "zend_extension=xdebug.so" > /home/scrutinizer/.phpenv/versions/7.2.0/etc/conf.d/xdebug.ini
tests:
override:
-
command: 'bin/phpspec run -f progress'
coverage:
file: 'build/logs/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
tests: true
filter:
excluded_paths:
- 'spec/*'
checks:
php: true
coding_style:
php: { }