Checkout Config
filter:
excluded_paths:
- "tests/"
dependency_paths:
- "src/Generated/"
- "src/Orm/"
- "vendor/"
build:
environment:
php: 7.1
variables:
APPLICATION_ENV: scrutinizer
tests:
before:
- 'composer global require xervice/xervicecli'
- 'xervice dataprovider:generate'
override:
-
command: 'vendor/bin/codecept run --coverage --coverage-xml'
coverage:
file: 'tests/_output/coverage.xml'
format: 'clover'
- php-scrutinizer-run --enable-security-analysis
checks:
php:
no_exit: false
coding_style:
php:
spaces:
around_operators:
concatenation: true
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
-
command: 'vendor/bin/codecept run --coverage --coverage-xml'
coverage:
file: 'tests/_output/coverage.xml'
format: 'clover'
tests: true
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
Global Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
-
command: 'vendor/bin/codecept run --coverage --coverage-xml'
coverage:
file: 'tests/_output/coverage.xml'
format: 'clover'
tests: true
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true