Repository Config
filter:
excluded_paths:
- misc/*
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
use_self_instead_of_fqcn: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
parameter_doc_comments: true
optional_parameters_at_the_end: true
function_in_camel_caps: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: false
encourage_single_quotes: true
avoid_perl_style_comments: true
avoid_unnecessary_concatenation: true
side_effects_or_types: false
deprecated_code_usage: false
no_underscore_prefix_in_properties: false
no_underscore_prefix_in_methods: false
param_doc_comment_if_not_inferrable: true
no_eval: false
overriding_private_members: false
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
before_parentheses:
if: false
for: false
while: false
switch: false
catch: false
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: new-line
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