Test Failed
Push — master ( 898276...1f48b5 )
by P.R.
03:41
created

Checkout Config

build:
    nodes:
        analysis:
            tests:
                override: 
                    - php-scrutinizer-run    
                    
        tests:
            environment:
                mysql: 5.7
            
            tests:
                before:
                    - mysql --version
                    - mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
                    
                override:
                    -
                        command: './bin/phing unit'
                        idle_timeout: 500
                        coverage:
                            file: 'test/coverage.xml'
                            format: 'php-clover'

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
        optional_parameters_at_the_end: 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
        duplication: false
        
coding_style:
    php:
        indentation:
            general:
                size: 2
        spaces:
            around_operators:
                equality: false
                relational: false
            other:
                after_type_cast: false
        braces:
            classes_functions:
                class: new-line
                function: new-line
                closure: new-line
            if:
                opening: new-line
                always: false
                else_on_new_line: true
            for:
                opening: new-line
                always: false
            while:
                opening: new-line
                always: false
            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