Completed
Push — master ( 097daa...4d63a7 )
by
unknown
08:26
created

Repository Config

tools:
    php_sim: true
    php_pdepend: true
    php_analyzer: true
filter:
    excluded_paths:
        - 'tests/*'
        - 'src/bp-forums/*'

coding_style:
    php:
        indentation:
            general:
                use_tabs: true
                size: 2
            switch:
                indent_case: false
        spaces:
            around_operators:
                concatenation: true
                negation: true
            within:
                array_initializer: true
                grouping: true
                function_call: true
                function_declaration: true
                if: true
                for: true
                while: true
                switch: true
                catch: true
        braces:
            classes_functions:
                class: end-of-line
                function: end-of-line
                closure: end-of-line
            if:
                opening: end-of-line
            for:
                opening: end-of-line
            while:
                opening: end-of-line
                always: false
            do_while:
                opening: end-of-line
            switch:
                opening: end-of-line
            try:
                opening: end-of-line
        upper_lower_casing:
            constants:
                true_false_null: lower

checks:
    php:
        argument_type_checks: true
        avoid_conflicting_incrementers: true
        avoid_duplicate_types: true
        avoid_corrupting_byteorder_marks: true
        avoid_length_functions_in_loops: true
        avoid_multiple_statements_on_same_line: true
        avoid_usage_of_logical_operators: true
        coding_standard:
            name: WordPress
        code_rating: true
        deprecated_code_usage: false
        encourage_postdec_operator: true
        encourage_shallow_comparison: true
        encourage_single_quotes: true
        fix_doc_comments: true
        foreach_traversable: true
        line_length:
            max_length: '120'
        missing_arguments: true
        more_specific_types_in_doc_comments: true
        no_debug_code: true
        no_duplicate_arguments: true
        no_error_suppression: true
        no_eval: true
        no_short_open_tag: true
        no_trailing_whitespace: true
        no_unnecessary_final_modifier: true
        no_unnecessary_if: true
        overriding_private_members: true
        param_doc_comment_if_not_inferrable: true
        parameter_doc_comments: true
        parameter_non_unique: true
        php5_style_constructor: true
        phpunit_assertions: true
        precedence_in_conditions: true
        precedence_mistakes: true
        prefer_while_loop_over_for_loop: true
        remove_extra_empty_lines: true
        require_php_tag_first: true
        require_scope_for_properties: true
        require_scope_for_methods: true
        return_doc_comment_if_not_inferrable: true
        security_vulnerabilities: true
        simplify_boolean_return: true
        sql_injection_vulnerabilities: true
        too_many_arguments: true
        unreachable_code: true
        unused_methods: true
        uppercase_constants: true
        variable_existence: true
        verify_access_scope_valid: true
        verify_property_names: true
        verify_argument_usable_as_reference: true
        unused_variables: true
        unused_properties: true
        optional_parameters_at_the_end: true
        overriding_parameter: true
        one_class_per_file: false
        avoid_superglobals: false
        avoid_entity_manager_injection: false
        return_doc_comments: true