Repository Config
build:
environment:
php:
version: 7.0
dependencies:
before:
- composer global require "fxp/composer-asset-plugin:~1.1.1"
filter:
excluded_paths:
- 'tests/*'
checks:
php:
code_rating: true
duplication: true
#checks:
# php:
# use_self_instead_of_fqcn: true
# uppercase_constants: true
# simplify_boolean_return: true
# return_doc_comment_if_not_inferrable: true
# return_doc_comments: true
# properties_in_camelcaps: true
# prefer_while_loop_over_for_loop: true
# phpunit_assertions: true
# parameters_in_camelcaps: true
# parameter_doc_comments: true
# param_doc_comment_if_not_inferrable: true
# optional_parameters_at_the_end: true
# no_goto: true
# function_in_camel_caps: true
# classes_in_camel_caps: true
# security_vulnerabilities: false
#coding_style:
# php:
# spaces:
# 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
# upper_lower_casing:
# keywords:
# general: lower
# constants:
# true_false_null: lower