Completed
Pull Request — master (#1653)
by Aristeides
09:38 queued 04:44
created

Repository Config

filter:
    excluded_paths:
        - 'tests/*'
        - 'bin/*'
        - 'modules/webfonts/webfonts.php'
        - 'core/webfonts.php'
        - 'lib/*'
        - 'Gruntfile.js'
        - 'example.php'
        - 'assets/vendor/*'
        - 'controls/js/dist/*'
        - 'controls/css/*'
        - 'docs/files/*'
        - 'core/deprecated.php'
checks:
    php:
        fix_line_ending: true
        param_doc_comment_if_not_inferrable: true
        parameter_doc_comments: true
        phpunit_assertions: true
        return_doc_comment_if_not_inferrable: true
        return_doc_comments: true
        simplify_boolean_return: true
        symfony_request_injection: false
        no_exit: false
        duplication: false
        remove_extra_empty_lines: true
        no_short_method_names:
            minimum: '3'
        no_goto: true
        no_short_variable_names:
            minimum: '3'
coding_style:
    php:
        indentation:
            general:
                use_tabs: true
        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: new-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
build:
    nodes:
        tests: true
        analysis:
            tests:
                override:
                    -
                        command: phpcs-run
                        use_website_config: true
                    - php-scrutinizer-run