Repository Config
filter:
excluded_paths:
- 'app/config/*'
- 'app/views/*'
- 'tests/*'
- 'migrations/*'
- 'public/*'
- 'vendor/*'
checks:
php:
uppercase_constants: true
simplify_boolean_return: true
return_doc_comments: true
parameter_doc_comments: true
param_doc_comment_if_not_inferrable: true
no_new_line_at_end_of_file: true
no_goto: true
more_specific_types_in_doc_comments: false
line_length:
max_length: '120'
avoid_perl_style_comments: true
avoid_multiple_statements_on_same_line: true
return_doc_comment_if_not_inferrable: true
phpunit_assertions: true
optional_parameters_at_the_end: true
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
around_operators:
concatenation: true
negation: true
other:
after_type_cast: false
braces:
classes_functions:
class: end-of-line
function: new-line
closure: end-of-line
if:
opening: new-line
always: false
else_on_new_line: true
for:
opening: new-line
while:
opening: new-line
do_while:
opening: new-line
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: upper
#tools:
# external_code_coverage:
# timeout: 1000