Completed
Push — develop ( 2a8c8b...b80258 )
by Romain
02:12
created

Checkout Config

checks:
    php:
        code_rating: true
        duplication: true

filter:
    excluded_paths:
        - tests/*

coding_style:
    php:
        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

tools:
    php_analyzer: true

Repository Config

checks:
    php: true
coding_style:
    php:
        spaces:
            other:
                after_type_cast: false

Global Config

coding_style:
    php:
        spaces:
            around_operators:
                concatenation: true
            ternary_operator:
                in_short_version: 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

checks:
    php:
        verify_property_names: true
        use_self_instead_of_fqcn: true
        uppercase_constants: true
        unused_variables: true
        unused_properties: true
        unused_parameters: true
        unused_methods: true
        single_namespace_per_use: true
        simplify_boolean_return: true
        side_effects_or_types: true
        return_doc_comments: true
        return_doc_comment_if_not_inferrable: true
        require_scope_for_properties: true
        require_scope_for_methods: true
        require_php_tag_first: true
        remove_extra_empty_lines: true
        psr2_switch_declaration: true
        property_assignments: true
        psr2_class_declaration: true
        properties_in_camelcaps: true
        php5_style_constructor: true
        parameters_in_camelcaps: true
        parameter_non_unique: true
        parameter_doc_comments: true
        one_class_per_file: true
        no_short_open_tag: true
        no_short_variable_names:
            minimum: '3'
        no_trailing_whitespace: true
        no_trait_type_hints: true
        no_underscore_prefix_in_methods: true
        no_underscore_prefix_in_properties: true