imports:
  - php

filter:
  excluded_paths:
    - 'bin/*'
    - 'vendor/*'
    - 'features/*'
    - 'spec/*'
    - 'tests/*'

before_commands:
  - composer install --prefer-source --dev --optimize-autoloader --no-interaction
    
tools:
  php_sim: true
  php_cpd: false

  # PHP Code Sniffer
  php_code_sniffer:
    config:
      standard: PSR2

build:
  tests:
    override:
      -
        command: 'phpunit --coverage-clover=code_coverage.xml'
        coverage:
          file: 'code_coverage.xml'
          format: 'php-clover'
imports:
  - php

filter:
  excluded_paths:
    - 'bin/*'
    - 'vendor/*'
    - 'features/*'
    - 'spec/*'
    - 'tests/*'

before_commands:
  - composer install --prefer-source --dev --optimize-autoloader --no-interaction
    
tools:
  php_sim: true
  php_cpd: false

  # PHP Code Sniffer
  php_code_sniffer:
    config:
      standard: PSR2

build:
  dependencies:
    before:
      - 'pecl install SPL_Types'
  environment:
    timezone: 'UTC'
  tests:
    override:
      -
        command: 'phpunit --coverage-clover=code_coverage.xml'
        coverage:
          file: 'code_coverage.xml'
          format: 'php-clover'
Install SPL types when building with scruitinizer
Install SPL types when building with scruitinizer
