Repository Config
tools:
php_sim: false
php_pdepend: true
php_analyzer: true
Global Config
build:
environment:
php:
version: 7.4
pecl_extensions:
- zip
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
checks:
php:
duplication: false
unused_methods: true
unused_parameters: false
argument_type_checks: true
verify_property_names: true
method_calls_on_non_object: true
fix_doc_comments: true
instanceof_class_exists: true
catch_class_exists: true
assignment_of_null_return: true
use_statement_alias_conflict: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
parameter_doc_comments: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: false
deprecated_code_usage: false
param_doc_comment_if_not_inferrable: true
no_eval: false
overriding_private_members: false
sql_injection_vulnerabilities: true
security_vulnerabilities: true
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
before_parentheses:
if: false
for: false
while: false
switch: false
catch: false
around_operators:
concatenation: true
within:
array_initializer: true
grouping: true
function_call: true
function_declaration: true
if: true
for: true
while: true
switch: true
catch: true
braces:
classes_functions:
class: new-line
function: new-line
closure: end-of-line
do_while:
while_on_new_line: true
switch:
opening: new-line
try:
opening: new-line
catch_on_new_line: true
finally_on_new_line: true
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower
filter:
dependency_paths:
- "vendor/"