Completed
Push — master ( 85a967...e71445 )
by Martin
03:32
created

Checkout Config

filter:
    excluded_paths:
        - tests/*

checks:
    php:
        verify_property_names: true
        verify_argument_usable_as_reference: true
        verify_access_scope_valid: true
        variable_existence: true
        return_doc_comments: true
        parameter_doc_comments: true
        fix_use_statements:
            remove_unused: true
            preserve_multiple: false
            preserve_blanklines: false
            order_alphabetically: true
        use_self_instead_of_fqcn: true
        uppercase_constants: true
        simplify_boolean_return: true
        remove_extra_empty_lines: true
        phpunit_assertions: true
        optional_parameters_at_the_end: true
        newline_at_end_of_file: true
        function_in_camel_caps: true
        fix_line_ending: true
        encourage_single_quotes: true
        classes_in_camel_caps: true
        avoid_multiple_statements_on_same_line: true
        avoid_fixme_comments: true
        return_doc_comment_if_not_inferrable: true
        param_doc_comment_if_not_inferrable: true

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

tools:
    php_code_sniffer:
        enabled: true
        config:
            standard: PSR2
        filter:
            paths: ["src/*", "tests/*"]
    php_cpd:
        enabled: true
        excluded_dirs: ["docs", "tests", "vendor"]
    php_loc:
        enabled: true
        excluded_dirs: ["docs", "vendor"]
    php_mess_detector:
        enabled: true
        filter:
            paths: ["src/*", "tests/*"]
    php_pdepend:
        enabled: true
        excluded_dirs: ["docs", "tests", "vendor"]
    php_analyzer: true
    php_analyzer:
        filter:
            paths: ["src/*"]
    sensiolabs_security_checker: true
    external_code_coverage:
        timeout: 600

Repository Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    -
                        command: phpcs-run
                        use_website_config: true
            environment:
                node:
                    version: 6.0.0
        tests: true
checks:
    php: true
filter: {  }
coding_style:
    php: {  }