Checkout Config
build:
environment:
php: 7.4
nodes:
analysis:
project_setup:
override: true
tests:
override:
- php-scrutinizer-run --enable-security-analysis
filter:
excluded_paths:
- 'var/*'
- 'tests/*'
- 'bin/*'
dependency_paths:
- 'vendor/*'
- 'assets/vendor/*'
- '*.min.js'
Repository Config
filter:
excluded_paths:
- 'tests/*'
- 'bin/*'
- 'vendor/*'
- '*.min.js'
checks:
php:
simplify_boolean_return: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
remove_extra_empty_lines: true
properties_in_camelcaps: true
parameters_in_camelcaps: true
parameter_doc_comments: true
param_doc_comment_if_not_inferrable: true
more_specific_types_in_doc_comments: true
javascript:
no_loop_var_assign: true
no_else_return: true
no_alert: true
eqeqeq: true
coding_style:
php:
spaces:
around_operators:
additive: false
other:
after_type_cast: false
build:
nodes:
analysis:
tests:
override:
- php-scrutinizer-run