Checkout Config
filter:
paths: [ src/* ]
excluded_paths: [ vendor/*, tests/* ]
before_commands:
- 'composer install --dev --prefer-dist'
tools:
external_code_coverage: true
php_mess_detector: true
php_code_sniffer: true
sensiolabs_security_checker: true
php_code_coverage: true
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php ./vendor/bin/simple-phpunit --configuration phpunit.xml.dist
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:
- 'tests/*'
- '*.tpl.php'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true