Checkout Config
imports:
- php
filter:
excluded_paths: [vendor/, test/, htdocs/js/OpenLayers.js]
build:
environment:
php: 7.2
dependencies:
before:
- command: "rm -rf build mkdir build"
after:
- "composer require --dev phpunit/phpunit"
nodes:
coverage:
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
- js-scrutinizer-run
tests: true
filter:
excluded_paths:
- 'vendor/*'
- 'test/*'
- '*.min.js'
- 'vendor/*'
checks:
php: true
javascript: true
coding_style:
php:
spaces:
around_operators:
concatenation: true