Checkout Config
filter:
excluded_paths:
- example/
- tests/
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
filter:
excluded_paths:
- 'tests/*'
- 'example/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
Global Config
coding_style:
php:
spaces:
before_parentheses:
closure_definition: true
around_operators:
unary_additive: true
concatenation: true
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