Checkout Config
imports:
- php
filter:
excluded_paths: [vendor/*, test/*]
build:
environment:
php: 7.2
dependencies:
before:
-
command: "mkdir build"
after:
- "composer require --dev phpunit/phpunit"
tests:
override:
-
command: "vendor/bin/phpunit --configuration .phpunit.xml"
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
checks:
php: true
coding_style:
php: { }
filter: { }