Checkout Config
filter:
excluded_paths:
- 'spec/*'
- 'src/SWP/Bundle/*Bundle/Tests/*'
- 'Tests/*'
- 'src/SWP/Bundle/*Bundle/spec/*'
- 'src/SWP/Component/*/spec/*'
paths:
- 'src/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: false
build:
environment:
php:
version: 7.0.8
tests:
override:
-
command: 'bin/phpunit -d zend.enable_gc=0 -c app/ --coverage-clover=coverage.xml && bash <(curl -s https://codecov.io/bash) -t 9774e0ee-fd3e-43d3-8ba6-a25e4ef57fe5'
coverage:
file: 'coverage.xml'
format: 'clover'
Repository Config
# language: php
coding_style:
php: { }
Global 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: true
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: true
single_namespace_per_use: false
psr2_switch_declaration: false
psr2_control_structure_declaration: false
avoid_superglobals: true
security_vulnerabilities: true
no_exit: false
fix_line_ending: true
uppercase_constants: true
newline_at_end_of_file: true
filter: { }
coding_style:
php: { }