Checkout Config
build:
environment:
php: '7.3'
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
filter:
excluded_paths:
build_failure_conditions:
- 'project.metric("scrutinizer.quality", < 9.88)'
Repository Config
coding_style:
php:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false
braces:
classes_functions:
class: new-line
function: new-line
closure: end-of-line
if:
opening: end-of-line
for:
opening: end-of-line
while:
opening: end-of-line
do_while:
opening: end-of-line
switch:
opening: end-of-line
try:
opening: end-of-line
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower
build: true
checks:
php:
code_rating: true
duplication: true
no_commented_out_code: false
uppercase_constants: true
use_self_instead_of_fqcn: true
optional_parameters_at_the_end: true