Checkout Config
# .scrutinizer.yml
checks:
php: true
build:
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
environment:
docker: true
redis: false
php:
version: 7.4
pecl_extensions:
- igbinary
- redis
tests:
override:
- 'docker run -p 6379:6379 --name redis-redisgraph redislabs/redisgraph:latest'
-
command: 'composer run unit-tests'
coverage:
file: 'tests/_output/coverage.xml'
format: 'clover'
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
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
additive: false
concatenation: true