Checkout Config
build:
environment:
php:
version: 5.6
ini:
'date.timezone': 'Europe/amsterdam'
Repository Config
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
braces:
classes_functions:
class: new-line
function: new-line
if:
opening: end-of-line
do_while:
while_on_new_line: true
switch:
opening: new-line
try:
opening: end-of-line
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower
build: true
Global Config
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
before_parentheses:
closure_definition: true
around_operators:
concatenation: true
braces:
classes_functions:
class: new-line
function: end-of-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
catch_on_new_line: true
finally_on_new_line: true
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: upper