Checkout Config
build:
environment:
php:
version: 8.1.6
postgresql: true
tests:
override:
-
command: 'vendor/bin/phpunit tests/Domain'
nodes:
analysis:
dependencies:
after:
- composer require --dev squizlabs/php_codesniffer:4.0.x-dev
tests:
override:
-
command: phpcs-run --standard=PSR12 src tests
use_website_config: false
- php-scrutinizer-run
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
environment:
node:
version: 6.0.0
tests: true
environment:
postgresql: true
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php: { }