Global Config
filter:
excluded_paths:
- 'test/*'
checks:
javascript: true
php: true
coding_style:
php:
indentation:
general:
size: 2
spaces:
around_operators:
equality: false
braces:
classes_functions:
class: new-line
function: new-line
closure: new-line
if:
opening: new-line
always: false
else_on_new_line: true
for:
opening: new-line
always: false
while:
opening: new-line
always: false
do_while:
opening: new-line
always: false
while_on_new_line: true
switch:
opening: new-line
try:
opening: new-line
catch_on_new_line: true
finally_on_new_line: true
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower
build:
nodes:
tests: true
analysis:
tests:
override:
- php-scrutinizer-run
- command: 'phpcs-run'
use_website_config: true