From 4cdae7c9ad289989fd2124403d24fa947d638a42 Mon Sep 17 00:00:00 2001 From: freek Date: Fri, 11 Dec 2020 21:27:13 +0100 Subject: [PATCH 1/4] wip --- .travis.yml | 1 + build/report.junit.xml | 16 ++++++++++++++++ composer.json | 4 ++-- phpunit.xml.dist | 40 ++++++++++++---------------------------- 4 files changed, 31 insertions(+), 30 deletions(-) create mode 100644 build/report.junit.xml diff --git a/.travis.yml b/.travis.yml index 5bdd576..c1ecf06 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: php php: - 7.2 + env: matrix: - COMPOSER_FLAGS="--prefer-lowest" diff --git a/build/report.junit.xml b/build/report.junit.xml new file mode 100644 index 0000000..f8bbf3d --- /dev/null +++ b/build/report.junit.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/composer.json b/composer.json index 7082e4d..3b4a9aa 100644 --- a/composer.json +++ b/composer.json @@ -19,11 +19,11 @@ } ], "require": { - "php": "^7.2", + "php": "^8.0|^7.2", "guzzlehttp/guzzle": "^7.0" }, "require-dev": { - "phpunit/phpunit": "^8.0.0" + "phpunit/phpunit": "^9.4" }, "autoload": { "psr-4": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index aa192b0..22da30c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,29 +1,13 @@ - - - - tests - - - - - src/ - - - - - - - - - - \ No newline at end of file + + + + src/ + + + + + tests + + + From 52c2139ad277da80301e313161212006cd51a2d1 Mon Sep 17 00:00:00 2001 From: freek Date: Fri, 11 Dec 2020 21:27:34 +0100 Subject: [PATCH 2/4] wip --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 15ab937..29b24a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to `npm-stats-api` will be documented in this file +## 2.0.1 - 2020-12-11 + +- allow PHP 8 + ## 2.0.0 - 2020-09-10 - Require PHP >= 7.2 From f3e8ffc2a04986d74ea06f2a0bea071915eda2a2 Mon Sep 17 00:00:00 2001 From: freek Date: Fri, 11 Dec 2020 21:28:20 +0100 Subject: [PATCH 3/4] wip --- build/report.junit.xml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 build/report.junit.xml diff --git a/build/report.junit.xml b/build/report.junit.xml deleted file mode 100644 index f8bbf3d..0000000 --- a/build/report.junit.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - From f2b892390d95009fa2895759036a11adc720aba6 Mon Sep 17 00:00:00 2001 From: freek Date: Fri, 11 Dec 2020 21:29:06 +0100 Subject: [PATCH 4/4] wip --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c1ecf06..5bdd576 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: php php: - 7.2 - env: matrix: - COMPOSER_FLAGS="--prefer-lowest"