Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
environment:
php:
version: '5.5'
node:
version: 6.0.0
tests: true
dependencies:
override:
- true
checks:
php:
simplify_boolean_return: true
no_goto: true
filter: { }
Global Config
coding_style:
php:
indentation:
general:
use_tabs: true
size: 1
spaces:
around_operators:
concatenation: true
braces:
classes_functions:
class: new-line
function: new-line
closure: new-line
if:
opening: new-line
else_on_new_line: true
for:
opening: new-line
while:
opening: new-line
do_while:
opening: new-line
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