Repository Config
filter:
excluded_paths:
- 'tests/*'
checks:
php:
remove_extra_empty_lines: true
parameter_doc_comments: true
prefer_while_loop_over_for_loop: true
avoid_multiple_statements_on_same_line: true
classes_in_camel_caps: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
order_alphabetically: false
line_length:
max_length: '120'
more_specific_types_in_doc_comments: true
no_goto: true
param_doc_comment_if_not_inferrable: true
unused_properties: false
symfony_request_injection: false
no_underscore_prefix_in_properties: false
no_global_keyword: false
no_exit: false
avoid_entity_manager_injection: false
one_class_per_file: 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
other:
after_type_cast: false
braces:
classes_functions:
class: end-of-line
function: end-of-line
closure: end-of-line
if:
opening: end-of-line
for:
opening: end-of-line
while:
opening: end-of-line
do_while:
opening: end-of-line
switch:
opening: end-of-line
try:
opening: end-of-line
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower
checks:
php:
remove_extra_empty_lines: true
parameter_doc_comments: true
prefer_while_loop_over_for_loop: true
avoid_multiple_statements_on_same_line: true
classes_in_camel_caps: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
order_alphabetically: false
line_length:
max_length: '120'
more_specific_types_in_doc_comments: true
no_goto: true
param_doc_comment_if_not_inferrable: true
unused_properties: false
symfony_request_injection: false
no_underscore_prefix_in_properties: false
no_global_keyword: false
no_exit: false
avoid_entity_manager_injection: false
one_class_per_file: 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
other:
after_type_cast: false
braces:
classes_functions:
class: end-of-line
function: end-of-line
closure: end-of-line
if:
opening: end-of-line
for:
opening: end-of-line
while:
opening: end-of-line
do_while:
opening: end-of-line
switch:
opening: end-of-line
try:
opening: end-of-line
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower