Completed
Pull Request — 2.0.x (#8)
by Andrew
05:51
created

Checkout Config

filter:
    excluded_paths:
        - 'tests/*'
checks:
    php:
        uppercase_constants: true
        return_doc_comment_if_not_inferrable: true
        parameter_doc_comments: true
        no_short_variable_names:
            minimum: '3'
        no_short_method_names:
            minimum: '3'
        newline_at_end_of_file: true
        encourage_single_quotes: true
        avoid_perl_style_comments: true
        avoid_fixme_comments: true
        avoid_usage_of_logical_operators: false
        return_doc_comments: true
        no_goto: true
        more_specific_types_in_doc_comments: true
        function_in_camel_caps: true
        classes_in_camel_caps: true

coding_style:
    php:
        spaces:
            around_operators:
                negation: true
        braces:
            classes_functions:
                class: new-line
                function: new-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: upper

Repository Config

filter:
    excluded_paths:
        - 'tests/*'
checks:
    php:
        uppercase_constants: true
        return_doc_comment_if_not_inferrable: true
        parameter_doc_comments: true
        no_short_variable_names:
            minimum: '3'
        no_short_method_names:
            minimum: '3'
        newline_at_end_of_file: true
        encourage_single_quotes: true
        avoid_perl_style_comments: true
        avoid_fixme_comments: true
        avoid_usage_of_logical_operators: false
        return_doc_comments: true
        no_goto: true
        more_specific_types_in_doc_comments: true
        function_in_camel_caps: true
        classes_in_camel_caps: true

coding_style:
    php:
        spaces:
            around_operators:
                negation: true
        braces:
            classes_functions:
                class: new-line
                function: new-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: upper