Checkout Config
checks:
php:
code_rating: true
duplication: true
build:
image: default-bionic
environment:
php: 8.1.12
tests:
override:
-
#command: true # Or "./vendor/bin/phpcs". Anyway do not use the scrutinizer command "phpcs-run" as if some cs error are found this command is not considered as failed command
command: ./vendor/bin/phpunit --coverage-clover=build/coverage/clover.xml # Or "./vendor/bin/phpunit --coverage-clover=build/coverage/clover.xml"
idle_timeout: 1200
coverage:
file: 'build/coverage/clover.xml'
format: 'php-clover'
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php: { }