Passed
Push — master ( bb6f0e...232fc8 )
by Chris
02:03
created

Repository Config

filter:
    excluded_paths:
        - 'tests/*'
checks:
    php: true
coding_style:
    php: {  }
build: true

Global Config

checks:
    php:
        uppercase_constants: true
        return_doc_comments: true
        return_doc_comment_if_not_inferrable: true
        remove_extra_empty_lines: true
        prefer_while_loop_over_for_loop: true
        phpunit_assertions: true
        parameter_doc_comments: true
        param_doc_comment_if_not_inferrable: true
        overriding_parameter: true
        optional_parameters_at_the_end: true
        no_goto: true
        newline_at_end_of_file: true
        more_specific_types_in_doc_comments: true
        fix_use_statements:
            remove_unused: true
            preserve_multiple: false
            preserve_blanklines: false
            order_alphabetically: true
        fix_line_ending: true
        encourage_single_quotes: true
        avoid_todo_comments: true
        avoid_perl_style_comments: true
        avoid_multiple_statements_on_same_line: true
        avoid_fixme_comments: true
        align_assignments: true
        psr2_switch_declaration: false
        psr2_class_declaration: false
        fix_doc_comments: true
    javascript: true

coding_style:
    php:
        spaces:
            before_parentheses:
                if: false
                for: false
                while: false
                switch: false
                catch: false
            around_operators:
                concatenation: true
                negation: true
            before_left_brace:
                class: false
                function: false
                if: false
                else: false
                for: false
                while: false
                do: false
                switch: false
                try: false
                catch: false
                finally: false
            before_keywords:
                else: false
                while: false
                catch: false
                finally: false
            within:
                brackets: true
                array_initializer: true
                grouping: true
                function_call: true
                function_declaration: true
                if: true
                for: true
                while: true
                switch: true
                catch: true
            ternary_operator:
                in_short_version: true
            other:
                after_type_cast: 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
                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

build: true