Checkout Config
checks:
php:
code_rating: true
duplication: true
Repository Config
filter:
excluded_paths:
- 'src/lib/legacy/*'
- 'src/javascript/jquery-plugins/*'
- 'src/javascript/plugins/*'
- 'src/javascript/underscore/*'
- '*.min.js'
- '*/vendor/*'
dependency_paths:
checks:
php:
duplication: false
unused_methods: true
unused_parameters: false
argument_type_checks: true
verify_property_names: false
method_calls_on_non_object: true
fix_doc_comments: false
instanceof_class_exists: true
catch_class_exists: true
assignment_of_null_return: true
use_statement_alias_conflict: false
simplify_boolean_return: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
avoid_multiple_statements_on_same_line: true
javascript: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false
braces:
classes_functions:
class: new-line
function: new-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