Passed
Push — master ( 566ed3...0527e3 )
by Brendan
03:36
created

Repository Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    -
                        command: phpcs-run
                        use_website_config: true
            environment:
                node:
                    version: 6.0.0
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: false
        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: false
        single_namespace_per_use: false
        psr2_switch_declaration: false
        psr2_control_structure_declaration: false
        avoid_superglobals: false
        security_vulnerabilities: false
        no_exit: false
coding_style:
    php: {  }
filter: {  }

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