Checkout Config
checks:
php:
verify_property_names: true
verify_access_scope_valid: true
variable_existence: true
use_statement_alias_conflict: true
useless_calls: true
unused_variables: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
parameters_in_camelcaps: true
no_long_variable_names:
maximum: '20'
no_goto: true
properties_in_camelcaps: true
overriding_parameter: true
build:
nodes:
analysis:
project_setup:
override: true
environment:
php: 8.0
tests:
override: ['php-scrutinizer-run']
filter:
excluded_paths:
- "test/*"
- "doc/*"
# Everything in a root level "tests" directory will be excluded
dependency_paths:
- "vendor/"
# Everything in a root level "vendor" directory will be excluded from analysis
# but treated as a dependency
tools:
external_code_coverage:
timeout: 180
Repository Config
filter:
excluded_paths:
- 'test/*'
checks:
php: true
coding_style:
php: { }