Checkout Config
imports:
- php
filter:
excluded_paths: [vendor/*, test/*, theme/src/*]
build:
# dependencies:
# before:
# -
# command: "mkdir build"
# after:
# - "composer require --dev phpunit/phpunit"
tests:
override:
-
#command: "vendor/bin/phpunit --configuration .phpunit.xml"
command: "make phpunit"
coverage:
file: "build/coverage.clover"
format: "php-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:
- 'test/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false