Completed
Push — master ( 653203...665d50 )
by
unknown
03:07
created

Repository Config

tools:
    php_sim: true
    php_pdepend: true
    php_analyzer: true
    php_hhvm: true

filter:
    excluded_paths:
        - tests/*
coding_style:
    php:
        indentation:
            general:
                size: 2
        spaces:
            other:
                after_semicolon: false
        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
                always: false
            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:
            keywords:
                general: lower
            constants:
                true_false_null: lower

checks:
    php:
        uppercase_constants: true
        unused_variables: true
        unused_methods: true
        unused_properties: true
        unreachable_code: true
        sql_injection_vulnerabilities: true
        single_namespace_per_use: true
        simplify_boolean_return: true
        security_vulnerabilities: true
        require_scope_for_properties: true
        require_scope_for_methods: true
        require_php_tag_first: true
        remove_extra_empty_lines: true
        properties_in_camelcaps: true
        prefer_while_loop_over_for_loop: true
        precedence_in_conditions: true
        precedence_mistakes: true
        php5_style_constructor: true
        phpunit_assertions: true
        optional_parameters_at_the_end: true
        no_unnecessary_if: true
        no_unnecessary_final_modifier: true
        no_property_on_interface: true
        no_non_implemented_abstract_methods: true
        no_debug_code: true
        instanceof_class_exists: true
        foreach_usable_as_reference: true
        foreach_traversable: false
        code_rating: true
        closure_use_not_conflicting: true
        classes_in_camel_caps: true
        catch_class_exists: true
        avoid_usage_of_logical_operators: true
        avoid_perl_style_comments: true
        avoid_duplicate_types: true
        avoid_closing_tag: true
        assignment_of_null_return: true