Checkout Config
filter:
path: [src/*]
excluded_paths:
- tests/*
- vendor/*
- bin/*
- docker/*
- var/*
- src/Kernel.php
dependency_paths:
- "vendor/"
checks:
php:
code_rating: true
duplication: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
remove_extra_empty_lines: true
param_doc_comment_if_not_inferrable: true
no_goto: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: false
fix_line_ending: true
tools:
php_code_sniffer:
enabled: true
config:
standard: PSR12
external_code_coverage: false
build:
environment:
php:
version: '8.3.26'
variables:
COMPOSER_ALLOW_SUPERUSER: 1
dependencies:
before:
- composer install --no-interaction
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
tests: true
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
filter: { }