Checkout Config
checks:
php: true
filter:
excluded_paths:
- '*.min.js'
- "third-party/"
- "js/default_tests.js"
coding_style:
php:
spaces:
around_operators:
additive: false
before_keywords:
else: false
build: true
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
tests: true
checks:
php:
fix_php_opening_tag: true
remove_php_closing_tag: true
one_class_per_file: true
side_effects_or_types: true
no_mixed_inline_html: true
require_braces_around_control_structures: false
php5_style_constructor: false
no_global_keyword: true
avoid_usage_of_logical_operators: false
psr2_class_declaration: true
no_underscore_prefix_in_properties: false
no_underscore_prefix_in_methods: false
blank_line_after_namespace_declaration: true
single_namespace_per_use: true
psr2_switch_declaration: true
psr2_control_structure_declaration: true
avoid_superglobals: true
security_vulnerabilities: true
no_exit: true
coding_style:
php: { }
filter: { }