Checkout Config
filter:
excluded_paths:
- examples/*
- tests/*
- vendor/*
Repository Config
# language: php
build: false
Global Config
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
before_parentheses:
if: false
for: false
while: false
switch: false
catch: false
before_left_brace:
class: false
function: false
if: false
else: false
for: false
while: false
do: false
switch: false
try: false
catch: false
finally: 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
else_on_new_line: true
for:
opening: end-of-line
while:
opening: end-of-line
do_while:
opening: end-of-line
while_on_new_line: true
switch:
opening: end-of-line
try:
opening: end-of-line
catch_on_new_line: true
finally_on_new_line: true
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower
checks:
php:
verify_property_names: false
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: true
use_self_instead_of_fqcn: true
uppercase_constants: true
simplify_boolean_return: true
prefer_while_loop_over_for_loop: false
phpunit_assertions: true
optional_parameters_at_the_end: true
newline_at_end_of_file: true
encourage_single_quotes: true
avoid_todo_comments: false
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
parameter_doc_comments: true
param_doc_comment_if_not_inferrable: true
more_specific_types_in_doc_comments: true
avoid_unnecessary_concatenation: true