sudo: false

language: php

php:
  - 7.1
  - 7.2
  - nightly

before_install:
  - composer self-update

install:
  - travis_retry composer update

before_script:
  - phpenv config-rm xdebug.ini
  - echo 'date.timezone = "Europe/London"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

script:
  - vendor/bin/phpcs --standard=PSR2 --warning-severity=0 src
  - vendor/bin/phpstan analyse -l 7 src
  - vendor/bin/phpunit --coverage-text

sudo: false

language: php

php:
  - 7.1
  - 7.2
  - nightly

before_install:
  - composer self-update

install:
  - travis_retry composer update

before_script:
  - echo 'date.timezone = "Europe/London"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

script:
  - vendor/bin/phpcs --standard=PSR2 --warning-severity=0 src
  - vendor/bin/phpstan analyse -l 7 src
  - vendor/bin/phpunit --coverage-text

Remove disabling xdebug from Travis
Remove disabling xdebug from Travis
