Passed
Branch master (c02ff8)
by Esteban De La Fuente
15:55 queued 13:02
created

Checkout Config

build:
    nodes:
        analysis:
            tests:
                override:
                    - mkdir -p var
                    - vendor/bin/phpunit --configuration=phpunit.xml
            environment:
                php:
                    version: 8.2.1
                    pecl_extensions:
                        - xdebug
    environment:
        variables:
            XDEBUG_MODE: coverage
            LIBREDTE_TESTS_DIR: tests
            LIBREDTE_COMPANY: '76192083-9'
            LIBREDTE_ENV_TEST_AUTH_DATE: '2019-12-23'
            LIBREDTE_CERTIFICATE_FILE: 'tests/resources/certificates/fake-certificate.pfx'
            LIBREDTE_CERTIFICATE_PASS: 'i_love_libredte'
    dependencies:
        before:
            - composer install --no-progress --prefer-dist
            - php -m

tools:
    php_code_sniffer:
        config:
            standard: PSR12
    php_cs_fixer:
        config: php-cs-fixer.php
    php_code_coverage:
        config:
            clover_file: var/tests-coverage.xml

filter:
    paths:
        - src/*
    excluded_paths:
        - resources/*
        - tests/*
        - tools/*
        - vendor/*

checks:
    php:
        code_rating: true
        duplication: true

Repository Config

filter:
    excluded_paths:
        - 'resources/*'
        - 'tests/*'
        - 'tools/*'
        
checks:
    php: true
coding_style:
    php:
        spaces:
            around_operators:
                equality: true
                relational: true
                additive: true
            other:
                after_type_cast: true