Checkout Config
build:
environment:
variables:
COMPOSER: 'composer.json'
nodes:
analysis:
tests:
override:
- command: ./.devcontainer/install_composer.sh
- php-scrutinizer-run --sub-project-dir=src/
- phpcs-run --standard=./tests/conf/phpcs.xml
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/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
assignment: false
concatenation: true