Repository Config
filter:
excluded_paths:
- 'tests/*'
- 'bin/*'
checks:
php:
unused_properties: true
unused_variables: true
uppercase_constants: true
unused_parameters: true
unused_methods: true
coding_style:
php:
spaces:
general:
linefeed_character: newline
braces:
classes_functions:
class: undefined
function: undefined
closure: undefined
if:
opening: undefined
for:
opening: undefined
while:
opening: undefined
do_while:
opening: undefined
switch:
opening: undefined
try:
opening: undefined
upper_lower_casing:
keywords:
general: undefined
constants:
true_false_null: undefined
Global Config
checks:
php:
uppercase_constants: true
unused_variables: true
use_statement_alias_conflict: true
useless_calls: false
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: false
remove_extra_empty_lines: true
properties_in_camelcaps: true
parameters_in_camelcaps: true
newline_at_end_of_file: true
line_length:
max_length: '120'
function_in_camel_caps: true
fix_line_ending: true
encourage_postdec_operator: true
avoid_fixme_comments: true
align_assignments: true
return_doc_comment_if_not_inferrable: true
return_doc_comments: true
param_doc_comment_if_not_inferrable: true
parameter_doc_comments: true
avoid_unnecessary_concatenation: true
coding_style:
php:
spaces:
before_parentheses:
closure_definition: true
around_operators:
concatenation: true