Checkout Config
checks:
php:
code_rating: true
duplication: true
Repository Config
build:
nodes:
analysis:
environment:
php: 7.1.6
root_path: './www'
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
tests:
environment:
php: 7.1.12
root_path: './www'
project_setup:
override:
- 'true'
tests:
override:
-
command: 'bin/phpunit -c app/ --coverage-clover=clover.xml'
coverage:
file: 'clover.xml'
format: 'clover'
environment:
variables:
SYMFONY_DEPRECATIONS_HELPER: 'weak'
checks:
php:
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: false
no_exit: false
javascript: true
filter:
paths: ["www/src/*"]
coding_style:
php:
spaces:
around_operators:
additive: true
concatenation: true
before_parentheses:
function_declaration: false
closure_definition: true