filter:
    excluded_paths:
        - "tests/*"
        - "vendor/*"
    dependency_paths:
        - "vendor/*"

checks:
    php: true
    javascript: true

tools:
    php_analyzer: true
    php_code_sniffer:
        config:
            standard: "PSR2"
    php_cs_fixer:
        enabled: true
        config: { level: psr2 }
    php_mess_detector: true
    php_loc:
        enabled: true
        excluded_dirs: [vendor]

build:
    environment:
        timezone: "Europe/Amsterdam"
        php: "7.0"
        mysql: false
        postgresql: false
        redis: false
    tests:
        override:
            - vendor/bin/phpunit

filter:
    excluded_paths:
        - "tests/*"
        - "vendor/*"
    dependency_paths:
        - "vendor/*"

checks:
    php: true
    javascript: true

tools:
    php_analyzer: true
    php_code_sniffer:
        config:
            standard: "PSR2"
    php_cs_fixer:
        enabled: true
        config: { level: psr2 }
    php_mess_detector: true
    php_loc:
        enabled: true
        excluded_dirs: [vendor]
    php_code_coverage:
        test_command: "vendor/bin/phpunit"

build:
    environment:
        timezone: "Europe/Amsterdam"
        php: "7.0"
        mysql: false
        postgresql: false
        redis: false
    tests:
        override:
            -
                command: "vendor/bin/phpunit"
                coverage:
                    file: "clover.xml"
                    format: "clover"

Enable PHP code coverage analysis for Scrutinizer.
Enable PHP code coverage analysis for Scrutinizer.
