Checkout Config
checks:
php: true
build:
environment:
php:
version: 7.0.7
variables:
NETTE: default
dependencies:
before:
-
command: 'mkdir -p build/logs'
tests:
override:
-
command: 'vendor/bin/tester tests -p php -c ./tests/php.ini-unix --coverage build/logs/clover.xml --coverage-src src'
coverage:
file: build/logs/clover.xml
format: php-clover
filter:
excluded_paths:
- tests/*
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
before_parentheses:
closure_definition: true
Global Config
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
filter:
excluded_paths:
- 'tests/*'
coding_style:
php:
indentation:
general:
use_tabs: true
braces:
classes_functions:
class: new-line
function: new-line
if:
opening: end-of-line
for:
opening: end-of-line
try:
opening: end-of-line
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: upper