Global Config
build:
environment:
php:
version: 5.6.9
tests:
override:
command: phpunit --stop-on-failure
application:
dependencies:
before:
- composer global require "fxp/composer-asset-plugin:1.1.3"
filter:
excluded_paths: [tests/*]
checks:
php:
use_self_instead_of_fqcn: true
uppercase_constants: true
simplify_boolean_return: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
parameter_doc_comments: true
param_doc_comment_if_not_inferrable: true
optional_parameters_at_the_end: true
no_short_variable_names:
minimum: '2'
no_short_method_names:
minimum: '3'
no_new_line_at_end_of_file: true
no_goto: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: true
custom_coding_standard:
git_repository: 'https://github.com/Ardem/yii-coding-standard'
ruleset_path: Yii/ruleset.xml
align_assignments: true
coding_style:
php: { }