Completed
Push — master ( 7d8704...9af505 )
by Alexey
03:42
created

Repository Config

filter:
    excluded_paths:
        - 'config/*'
        - 'test/*'
checks:
    php:
        uppercase_constants: true
        return_doc_comments: true
        properties_in_camelcaps: true
        parameters_in_camelcaps: true
        parameter_doc_comments: true
        optional_parameters_at_the_end: true
        no_goto: true
        newline_at_end_of_file: true
        function_in_camel_caps: true
        classes_in_camel_caps: true
        avoid_perl_style_comments: true
        avoid_multiple_statements_on_same_line: true
        fix_use_statements:
            remove_unused: true
            preserve_multiple: false
            preserve_blanklines: false
            order_alphabetically: true
        align_assignments: true
        verify_argument_usable_as_reference: true

coding_style:
    php:
        spaces:
            before_parentheses:
                if: false
                for: false
                while: false
                switch: false
                catch: false
            around_operators:
                concatenation: 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
        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:
    environment:
        php:
            version: 5.6.9
    tests:
        override:
            -
                command: phpunit --coverage-clover=my-coverage-file
                coverage:
                    file: my-coverage-file
                    format: php-clover