language: php

jobs:
  include:
    - php: 7.1
    - php: 7.2
    - php: 7.3
    - php: 7.4
    - php: 8.0snapshot
    - php: nightly
  fast_finish: true
  allow_failures:
    - php: nightly

install:
  - composer install --no-interaction --no-progress --no-suggest

script:
  - ./vendor/bin/phpcs --runtime-set ignore_warnings_on_exit 1
  - SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT=1 ./vendor/bin/simple-phpunit ./test
