Passed
Push — master ( a7199e...6a8921 )
by Patrick
40:22
created

Checkout Config

build:
    tests:
        override:
            -
                command: 'vendor/bin/phpunit'

    nodes:
        php55:
            environment:
                php: 5.5

        php56:
            environment:
                php: 5.6

        php70:
            environment:
                php: 7.0

        php71:
            environment:
                php: 7.1

        php72:
            environment:
                php: 7.2

        php73:
            environment:
                php: 7.3

        php74:
            environment:
                php: 7.4

        analysis:
            environment:
                php: 7.4
            tests:
                override:
                    - php-scrutinizer-run
                    - phpcs-run

filter:
    excluded_paths: [tests/*]

tools:
    external_code_coverage:
        timeout: 5400
        runs: 67

Global Config

checks:
    php:
        verify_access_scope_valid: true
        variable_existence: true
        uppercase_constants: true
        unused_variables: true
        unused_properties: false
        unused_parameters: true
        unused_methods: false
        unreachable_code: true
        single_namespace_per_use: true
        require_scope_for_properties: true
        require_scope_for_methods: true
        psr2_switch_declaration: true
        psr2_class_declaration: true
        properties_in_camelcaps: true
        precedence_mistakes: true
        precedence_in_conditions: true
        php5_style_constructor: true
        parameters_in_camelcaps: true
        overriding_private_members: true
        optional_parameters_at_the_end: true
        one_class_per_file: true
        no_underscore_prefix_in_properties: true
        no_trailing_whitespace: true
        no_short_open_tag: true
        no_property_on_interface: true
        no_non_implemented_abstract_methods: true
        no_goto: true
        no_global_keyword: false
        no_eval: true
        no_error_suppression: true
        no_duplicate_arguments: true
        no_debug_code: true
        newline_at_end_of_file: true
        function_in_camel_caps: true
        encourage_single_quotes: true
        encourage_postdec_operator: true
        duplication: false
        code_rating: true
        closure_use_not_conflicting: true
        classes_in_camel_caps: true
        blank_line_after_namespace_declaration: true
        avoid_useless_overridden_methods: true
        avoid_usage_of_logical_operators: true
        avoid_unnecessary_concatenation: true
        avoid_todo_comments: true
        avoid_perl_style_comments: true
        avoid_length_functions_in_loops: true
        avoid_fixme_comments: true
        avoid_corrupting_byteorder_marks: true
        avoid_conflicting_incrementers: true
        avoid_closing_tag: false
        avoid_aliased_php_functions: true
        return_doc_comments: true
        return_doc_comment_if_not_inferrable: true
        parameter_doc_comments: true
        param_doc_comment_if_not_inferrable: true
        fix_doc_comments: false
        avoid_multiple_statements_on_same_line: true

coding_style:
    php:
        spaces:
            before_parentheses:
                closure_definition: true
        braces:
            classes_functions:
                class: new-line
                function: new-line
                closure: end-of-line
            if:
                opening: end-of-line
            for:
                opening: end-of-line
            while:
                opening: end-of-line
            do_while:
                opening: end-of-line
            switch:
                opening: end-of-line
            try:
                opening: end-of-line
        upper_lower_casing:
            keywords:
                general: lower
            constants:
                true_false_null: lower