Passed
Push — main ( 9492df...30ab62 )
by Thomas
02:31
created

Global Config

build:
    environment:
        apt_packages:
          - libargon2-0-dev
          - libwebp-dev
        php: 
            version: 8.2.0
            compile_options: '--with-password-argon2 --with-webp --disable-debug --enable-bcmath --enable-calendar --enable-cgi --enable-exif --enable-fpm --enable-ftp --enable-gd --enable-intl --enable-mbstring --enable-pcntl --enable-phpdbg --enable-shmop --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-xmlreader --enable-zts --with-apxs2=/usr/bin/apxs --with-bz2 --with-curl=/usr --with-freetype --with-gettext --with-gmp --with-jpeg --with-kerberos --with-libdir=lib64 --with-mhash --with-mysqli=mysqlnd --with-openssl --with-pdo-mysql=mysqlnd --with-pdo-pgsql --with-pdo-sqlite --with-pgsql --with-readline --with-sodium --with-tidy --with-xsl --with-zip --with-zlib --with-zlib-dir=/usr'
            ini:
                xdebug.mode: coverage
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    - phpcs-run
                    
        pest:
            dependencies:
                override:
                    - composer self-update
                    - composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi

            tests:
                override:
                    - command:  ./vendor/bin/phpunit --coverage-clover=coverage.xml
                      on_node: 1
                      coverage:
                          file: coverage.xml
                          format: php-clover
                          
filter:
    excluded_paths:
        - 'tests/*'
        - 'docs/code/*'
        - '.php-cs-fixer.dist.php'
checks:
    php: true
coding_style:
    php:
        spaces:
            around_operators:
                bitwise: false
                concatenation: true
            other:
                after_type_cast: false