We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
build_failure_conditions:
# Fail on any new issues (note that 'issues.new.exists' does not work)
- 'issues.severity(>= INFO).new.exists'
build:
nodes:
analysis:
project_setup:
override:
- cp config/config.specific.sample.php config/config.specific.php
tests:
override:
- php-scrutinizer-run
- js-scrutinizer-run
filter:
excluded_paths:
- 'tests/*'
checks:
php:
fix_php_opening_tag: true
remove_php_closing_tag: false
one_class_per_file: false
side_effects_or_types: false
no_mixed_inline_html: false
require_braces_around_control_structures: false
php5_style_constructor: false
no_global_keyword: false
avoid_usage_of_logical_operators: false
psr2_class_declaration: false
no_underscore_prefix_in_properties: false
no_underscore_prefix_in_methods: false
blank_line_after_namespace_declaration: false
single_namespace_per_use: false
psr2_switch_declaration: false
psr2_control_structure_declaration: false
avoid_superglobals: false
security_vulnerabilities: false
no_exit: false
simplify_boolean_return: true
javascript: true
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
around_operators:
bitwise: false
concatenation: true
other:
after_type_cast: false