language: php
sudo: false
php:
  - 7.2
  - 7.3
  - 7.4
install:
  - pear install pear/PHP_CodeSniffer
  - composer install
  - phpenv rehash
script:
  - composer validate
  - ./vendor/bin/phpunit --coverage-text tests
  - phpcs Text/
