Passed
Push — master ( 955b97...98d698 )
by Dan
01:03
created

Checkout Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    -
                        command: 'vendor/bin/phpspec run -f progress -c .phpspec-ci.yml'
                        coverage:
                          file: 'coverage.clover'
                          format: 'php-clover'
        tests: true
filter:
    excluded_paths:
        - 'spec/*'
checks:
    php: true

coding_style:
    php: { }

Repository Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    -
                        command: 'vendor/bin/phpspec run -f progress -c .phpspec-ci.yml'
                        coverage:
                          file: 'coverage.clover'
                          format: 'php-clover'
        tests: true
filter:
    excluded_paths:
        - 'spec/*'
checks:
    php: true

coding_style:
    php: { }

Global Config

build:
    nodes:
        tests: true
        analysis:
            tests:
                override:
                    -
                        command: phpcs-run
                        use_website_config: true

checks:
    php:
        no_short_open_tag: true
        no_error_suppression: true
        no_debug_code: true
        argument_type_checks: true

coding_style:
    php:
        braces:
            classes_functions:
                class: new-line
                function: new-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