Checkout Config
build:
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=some-file tests --config tests/phpunit.xml'
coverage:
file: 'some-file'
format: 'clover'
filter:
excluded_paths:
## Excluding Tests, Specs and Vendor Directories at any Level
- tests/
# - tests/**/*
- tests.int/
# - tests.int/**/*
- vendor/
# - "**/vendor/**/*"
- spec/
# Excluding Sypex Dumper files
- admin/sxd/*
# - "admin/sxd/**/*"
# Excluding minified files
# - "**.min.js"
# - "**.min.css"
# - *.min.js
# - **/**.min.js
# - *.min.css
# - */*/*.min.css
- design/*/*.min.css
- js/*/*.min.js
# - js/*.min.js
coding_style:
php:
indentation:
general:
size: 2
spaces:
around_operators:
concatenation: true
braces:
classes_functions:
class: end-of-line
function: end-of-line
closure: end-of-line
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower
Repository Config
checks:
php:
fix_php_opening_tag: false
remove_php_closing_tag: false
one_class_per_file: false
side_effects_or_types: false
no_mixed_inline_html: false
require_braces_around_control_structures: false
php5_style_constructor: false
no_global_keyword: false
avoid_usage_of_logical_operators: false
psr2_class_declaration: false
no_underscore_prefix_in_properties: false
no_underscore_prefix_in_methods: false
blank_line_after_namespace_declaration: false
single_namespace_per_use: false
psr2_switch_declaration: false
psr2_control_structure_declaration: false
avoid_superglobals: false
security_vulnerabilities: false
no_exit: false
filter:
excluded_paths:
- admin/sxd/*
coding_style:
php:
indentation:
general:
size: 2
spaces:
around_operators:
concatenation: true
braces:
classes_functions:
class: end-of-line
function: end-of-line
closure: end-of-line
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower
build:
environment:
php: 5.6