Checkout Config
build:
dependencies:
before:
- sudo apt-get install -y ca-certificates
- composer config repositories.t3ter composer https://composer.typo3.org
- composer config minimum-stability dev
- composer config prefer-stable true
filter:
excluded_paths:
- "Lib/"
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
- js-scrutinizer-run
environment:
node:
version: 6.0.0
checks:
php:
fix_php_opening_tag: false
remove_php_closing_tag: false
no_mixed_inline_html: false
require_braces_around_control_structures: false
psr2_control_structure_declaration: false
avoid_superglobals: false
security_vulnerabilities: false
no_exit: false
javascript: true
filter:
excluded_paths:
- '*.min.js'
coding_style:
php:
spaces:
around_operators:
concatenation: true
Global Config
coding_style:
php:
spaces:
before_parentheses:
array_initializer: true
ternary_operator:
in_short_version: true
braces:
classes_functions:
class: end-of-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
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: upper