Passed
Pull Request — master (#8)
by Deric
01:55
created

Repository Config

before_commands:
    - composer install --prefer-source --no-interaction --no-dev
checks:
    php:
        code_rating: true
        remove_extra_empty_lines: true
        remove_php_closing_tag: true
        remove_trailing_whitespace: true
        fix_use_statements:
            remove_unused: true
            preserve_multiple: false
            preserve_blanklines: true
            order_alphabetically: true
        fix_php_opening_tag: true
        fix_linefeed: true
        fix_line_ending: true
        fix_identation_4spaces: true
        fix_doc_comments: true
tools:
    php_changetracking: true
    php_mess_detector: true
    php_analyzer: true
build:
    nodes:
        tests:
        analysis:
            tests:
                override:
                    - php-scrutinizer-run

Global Config

coding_style:
    php:
        spaces:
            around_operators:
                concatenation: true
        braces:
            classes_functions:
                class: new-line
                function: new-line
                closure: new-line
            for:
                opening: new-line
            while:
                opening: new-line
            do_while:
                opening: new-line
            switch:
                opening: new-line
            try:
                opening: new-line
        upper_lower_casing:
            keywords:
                general: lower
            constants:
                true_false_null: lower