From c98399572fe9c58ab9cc25d905f807cafdc9f7e3 Mon Sep 17 00:00:00 2001 From: Alies Lapatsin Date: Sat, 2 May 2020 11:28:21 +0300 Subject: [PATCH] #84 Require php7.2+ --- .travis.yml | 4 ++-- composer.json | 9 +++++---- phpunit.xml.dist | 22 ++++++++-------------- 3 files changed, 15 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index d4da099..7e699d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ language: php php: - - 7.0 - - 7.1 - 7.2 - 7.3 + - 7.4 + - nightly env: matrix: diff --git a/composer.json b/composer.json index 9988750..6cbbad6 100644 --- a/composer.json +++ b/composer.json @@ -16,11 +16,11 @@ } ], "require": { - "php": "^7.0" + "php": "^7.2 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^6.0", - "spatie/phpunit-snapshot-assertions": "^1.0" + "phpunit/phpunit": "^8.5 || 9.0", + "spatie/phpunit-snapshot-assertions": "^2.1" }, "autoload": { "psr-4": { @@ -33,7 +33,8 @@ } }, "scripts": { - "test": "vendor/bin/phpunit" + "test": "vendor/bin/phpunit", + "snapshots:update": "vendor/bin/phpunit -d --update-snapshots" }, "config": { "sort-packages": true diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 563fc80..3ecf98e 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,29 +1,23 @@ - + convertWarningsToExceptions="true"> - + tests + - - src/ + + src - - - - - - -