Checkout Config
# .scrutinizer.yml
checks:
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- tests/*
Repository Config
checks:
php:
avoid_todo_comments: true
avoid_perl_style_comments: true
avoid_fixme_comments: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
custom_coding_standard:
git_repository: 'https://github.com/stojg/silverstripe-codesniffer'
ruleset_path: ruleset.xml
no_goto: true
newline_at_end_of_file: true
filter: { }
coding_style:
php: { }