build:
    environment:
        php: 
            version: '7.1'
            
    project_setup:
        before:
            - mysql -e "CREATE DATABASE IF NOT EXISTS test_db"
            
    tests:
        override:
            -
                command: 'vendor/bin/phpunit --coverage-clover=coverage'
                coverage:
                    file: 'coverage'
                    format: 'clover'

before_commands:
    - "composer install --prefer-source"

checks:
    php:
        code_rating: true
        duplication: true
build:
    environment:
        php: 
            version: '7.1'
            
    project_setup:
        before:
            - mysql -e "CREATE DATABASE IF NOT EXISTS test_db"
            
    tests:
        override:
            -
                command: 'vendor/bin/phpunit --coverage-clover=coverage'
                coverage:
                    file: 'coverage'
                    format: 'clover'

before_commands:
    - "composer install --prefer-source"

checks:
    php:
        code_rating: true
        duplication: true

filter:
    excluded_paths:
        - tests/*

Add filter for code intelligence
Add filter for code intelligence