Completed
Pull Request — master (#148)
by
unknown
17:47
created

Repository Config

filter:
    paths:
        - 'src/*'
    excluded_paths:
        - 'src/*/*/Tests/*'
checks:
    php:
        prefer_while_loop_over_for_loop: true
        properties_in_camelcaps: true
        parameters_in_camelcaps: true
        optional_parameters_at_the_end: true
        no_goto: true
        newline_at_end_of_file: true
        function_in_camel_caps: true
        fix_use_statements:
            remove_unused: true
            preserve_multiple: false
            preserve_blanklines: false
            order_alphabetically: true
        fix_line_ending: true
        encourage_single_quotes: true
        encourage_postdec_operator: true
        classes_in_camel_caps: true
        avoid_todo_comments: true
        avoid_multiple_statements_on_same_line: true

coding_style:
    php:
        braces:
            classes_functions:
                class: new-line
                function: new-line
        upper_lower_casing:
            keywords:
                general: lower
            constants:
                true_false_null: lower

tools:
    external_code_coverage:
        timeout: 1800
build_failure_conditions:
    - 'elements.rating(<= D).new.exists'
    - 'issues.label("coding-style").new.count > 5'
    - 'issues.severity(>= MAJOR).new.exists'
    - 'project.metric_change("scrutinizer.quality", < -0.10)'
    - 'project.metric_change("scrutinizer.test_coverage", < -0.10)'