fathomminds/php-rest-models

View on GitHub
.scrutinizer.yml

Summary

Maintainability
Test Coverage
filter:
    excluded_paths:
        - 'tests/*'
        - 'tests-integration/*'
        - 'examples/*'
tools:
    php_sim:
        min_mass: 30
checks:
    php:
        duplication: false
coding_style:
    php:
        spaces:
            around_operators:
                concatenation: true
            other:
                after_type_cast: false
build:
    tests:
        override:
            -
                command: 'vendor/bin/phpunit --coverage-clover=log/coverage.xml'
                coverage:
                    file: 'log/coverage.xml'
                    format: 'clover'
    environment:
        mysql: false
        postgresql: false
        mongodb: false
        elasticsearch: false
        redis: false
        memcached: false
        neo4j: false
        rabbitmq: false
        variables:
            MONGODB_HOST: 'localhost:27017'
            MONGODB_DATABASE: 'foo'
            MONGODB_USERNAME: 'bar'
            MONGODB_PASSWORD: 'foobar'
            MONGODB_AUTH_DATABASE: 'foo'