Completed
Pull Request — master (#24)
by
unknown
02:48
created

Global Config

filter:
    excluded_paths:
        - 'test/*'
checks:
    php:
        use_self_instead_of_fqcn: true
        uppercase_constants: true
        return_doc_comments: true
        remove_extra_empty_lines: true
        properties_in_camelcaps: true
        parameters_in_camelcaps: true
        parameter_doc_comments: true
        no_goto: true
        newline_at_end_of_file: true
        encourage_single_quotes: true
        classes_in_camel_caps: true
        avoid_unnecessary_concatenation: true
        avoid_perl_style_comments: true
        avoid_multiple_statements_on_same_line: true
        return_doc_comment_if_not_inferrable: true
        function_in_camel_caps: true

coding_style:
    php:
        indentation:
            general:
                size: 2
        spaces:
            around_operators:
                equality: false
        braces:
            classes_functions:
                class: new-line
                function: new-line
                closure: new-line
            if:
                opening: new-line
                else_on_new_line: true
            for:
                opening: new-line
            while:
                opening: new-line
            do_while:
                opening: new-line
                always: false
                while_on_new_line: true
            switch:
                opening: new-line
            try:
                opening: new-line
                catch_on_new_line: true
                finally_on_new_line: true
        upper_lower_casing:
            keywords:
                general: lower
            constants:
                true_false_null: lower