Passed
Push — master ( d10f8f...520379 )
by Anton
04:13
created

Global Config

build:
    dependencies:
        before:
            - composer global require "fxp/composer-asset-plugin:*" --ignore-platform-reqs
    nodes:
        analysis:
            tests:
                override:
                    - php-scrutinizer-run
        php56:
            environment:
                php:
                    version: 5.6
            tests:
                override:
                    command: ./vendor/bin/phpunit --stop-on-failure
        php71:
            environment:
                php:
                    version: 7.1
            tests:
                override:
                    command: ./vendor/bin/phpunit --stop-on-failure
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: {  }