Repository Config
checks:
php:
use_self_instead_of_fqcn: true
uppercase_constants: true
simplify_boolean_return: true
properties_in_camelcaps: true
prefer_while_loop_over_for_loop: true
phpunit_assertions: true
parameters_in_camelcaps: true
optional_parameters_at_the_end: true
no_goto: true
newline_at_end_of_file: true
function_in_camel_caps: true
encourage_single_quotes: true
encourage_postdec_operator: true
classes_in_camel_caps: true
avoid_todo_comments: true
avoid_perl_style_comments: true
avoid_multiple_statements_on_same_line: true
avoid_fixme_comments: true
avoid_unnecessary_concatenation: true
filter:
excluded_paths:
- Tests/*
- Resources/blueprints/*
- Command/Options/Legacy/*
coding_style:
php:
spaces:
before_parentheses:
closure_definition: true
around_operators:
concatenation: false
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower
tools:
external_code_coverage:
runs: 1 # Scrutinizer will wait for one code coverage submission
timeout: 600