diff --git a/.gitignore b/.gitignore index 7579f74..4f38912 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +.idea vendor composer.lock diff --git a/.travis.yml b/.travis.yml index 6270224..bf08b9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,8 @@ php: - 7.2 - 7.3 - 7.4 + - 8.0 + - 8.1 env: - NETTE_VERSION="^2.4" @@ -28,14 +30,14 @@ jobs: include: - stage: QA name: Static Analysis - php: 7.4 + php: 8.1 env: NETTE_VERSION="^3.0" script: - vendor/bin/phpstan analyze --no-progress --no-interaction --level max src/ - stage: QA name: Code Coverage - php: 7.4 + php: 8.1 env: NETTE_VERSION="^3.0" script: - vendor/bin/tester -p phpdbg -c tests/php.ini-unix -s --coverage coverage.xml --coverage-src src/ tests/TotpAuthenticatorTests diff --git a/composer.json b/composer.json index fd76f34..a29fbb1 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "issues": "https://github.com/o2ps/TotpAuthenticator/issues" }, "require": { - "php": "^7.2", + "php": ">=7.2.0 <8.2", "paragonie/constant_time_encoding": "^2.0" }, "require-dev": {