Repository Config
checks:
php:
code_rating: true
duplication: true
fix_php_opening_tag: false
remove_php_closing_tag: false
no_mixed_inline_html: false
require_braces_around_control_structures: false
psr2_control_structure_declaration: false
avoid_superglobals: false
security_vulnerabilities: true
no_exit: false
simplify_boolean_return: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
remove_extra_empty_lines: true
parameter_doc_comments: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
no_short_method_names:
minimum: '3'
javascript: true
filter:
excluded_paths:
- '.tests/*'
- 'tests/*'
- '*.min.js'
- 'js/'
build:
environment:
php: '7.1'
tests:
override:
- 'php-scrutinizer-run'
- 'phpcs-run ./src/'
- 'php vendor/bin/codecept run unit'