Passed
Push — master ( 8fc551...e19a0d )
by Harry
02:28
created

Global Config

checks:
    php:
        custom_coding_standard:
             git_repository: 'https://github.com/graze/standards'
             git_version: 'ff7ea57e14cc222ff2c29f36a0bf40e707783bbb'
             ruleset_path: 'PHP/CodeSniffer/Graze/ruleset.xml'
        code_rating: true
        duplication: true
        uppercase_constants: true
        use_self_instead_of_fqcn: true
        switch_fallthrough_commented: true
        single_namespace_per_use: true
        simplify_boolean_return: true
        require_scope_for_properties: true
        require_scope_for_methods: true
        psr2_class_declaration: true
        properties_in_camelcaps: true
        prefer_while_loop_over_for_loop: true
        phpunit_assertions: true
        php5_style_constructor: false
        parameters_in_camelcaps: true
        avoid_closing_tag: true
        avoid_aliased_php_functions: true
        avoid_superglobals: true
        avoid_todo_comments: true
        avoid_usage_of_logical_operators: true
        blank_line_after_namespace_declaration: true
        classes_in_camel_caps: true
        encourage_postdec_operator: true
        encourage_shallow_comparison: true
        function_in_camel_caps: true
        line_length:
            max_length: '120'
        newline_at_end_of_file: true
        no_commented_out_code: true
        no_exit: true
        no_global_keyword: true
        no_goto: true
        no_long_variable_names:
            maximum: '20'
        no_short_method_names:
            minimum: '3'
        no_short_open_tag: true
        no_underscore_prefix_in_methods: true
        no_underscore_prefix_in_properties: true
        non_commented_empty_catch_block: true
        one_class_per_file: true
        optional_parameters_at_the_end: true
        parameter_doc_comments: true
        return_doc_comments: true
        return_doc_comment_if_not_inferrable: true
        param_doc_comment_if_not_inferrable: true
        no_short_variable_names:
            minimum: '2'
        remove_extra_empty_lines: true
        fix_use_statements:
            remove_unused: true
            preserve_multiple: false
            preserve_blanklines: true
            order_alphabetically: false
        fix_line_ending: true        

tools:
    external_code_coverage: true
    php_mess_detector: true
    php_code_sniffer: true
    sensiolabs_security_checker: true
    
build:
    nodes:
        analysis:
            tests:
                override:
                    - php-scrutinizer-run