Completed
Push — master ( 0e2358...5e7c93 )
by Sean
06:29 queued 02:57
created

Checkout Config

tools:
  php_sim:
    min_mass: 30 # Defaults to 16

filter:
  excluded_paths:
    - 'tests/*'
    - 'bin/*'
    - 'vendor/*'

build:
  tests:
    override:
      - eslint-run --config ./.eslintrc "./js/**"

checks:
  php:
    uppercase_constants: true
    use_self_instead_of_fqcn: true
    properties_in_camelcaps: true
    prefer_while_loop_over_for_loop: true
    more_specific_types_in_doc_comments: true

coding_style:
  php:
    indentation:
      general:
        use_tabs: true
    spaces:
      before_parentheses:
        if: true
        for: true
        while: true
        switch: true
        catch: true
      other:
        after_type_cast: true
    upper_lower_casing:
      keywords:
        general: lower
      constants:
        true_false_null: lower

Repository Config

filter:
    excluded_paths:
        - 'tests/*'
checks:
    php:
        remove_extra_empty_lines: true
        parameter_doc_comments: true
        prefer_while_loop_over_for_loop: true
        avoid_multiple_statements_on_same_line: true
        classes_in_camel_caps: true
        fix_use_statements:
            remove_unused: true
            preserve_multiple: false
            preserve_blanklines: true
            order_alphabetically: false
        line_length:
            max_length: '120'
        more_specific_types_in_doc_comments: true
        no_goto: true
        param_doc_comment_if_not_inferrable: true
        unused_properties: false
        symfony_request_injection: false
        no_underscore_prefix_in_properties: false
        no_global_keyword: false
        no_exit: false
        avoid_entity_manager_injection: false
        one_class_per_file: false
        overriding_private_members: false

coding_style:
    php:
        indentation:
            general:
                use_tabs: true
        spaces:
            before_parentheses:
                if: false
                for: false
                while: false
                switch: false
                catch: false
            other:
                after_type_cast: 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
            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:
        remove_extra_empty_lines: true
        parameter_doc_comments: true
        prefer_while_loop_over_for_loop: true
        avoid_multiple_statements_on_same_line: true
        classes_in_camel_caps: true
        fix_use_statements:
            remove_unused: true
            preserve_multiple: false
            preserve_blanklines: true
            order_alphabetically: false
        line_length:
            max_length: '120'
        more_specific_types_in_doc_comments: true
        no_goto: true
        param_doc_comment_if_not_inferrable: true
        unused_properties: false
        symfony_request_injection: false
        no_underscore_prefix_in_properties: false
        no_global_keyword: false
        no_exit: false
        avoid_entity_manager_injection: false
        one_class_per_file: false
        overriding_private_members: false

coding_style:
    php:
        indentation:
            general:
                use_tabs: true
        spaces:
            before_parentheses:
                if: false
                for: false
                while: false
                switch: false
                catch: false
            other:
                after_type_cast: 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
            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