From 179048e3c445be2a20287cf5d89b864956e635a1 Mon Sep 17 00:00:00 2001 From: ShawnCZek Date: Wed, 28 Dec 2022 12:57:55 +0100 Subject: [PATCH] Specify PHP 8.x versions as supported --- .travis.yml | 3 +++ README.md | 3 +++ composer.json | 2 ++ 3 files changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6232995..6ce9e56 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,9 @@ matrix: - php: 7.2 - php: 7.3 - php: 7.4 + - php: 8.0 + - php: 8.1 + - php: 8.2 - php: nightly fast_finish: true allow_failures: diff --git a/README.md b/README.md index 90f9521..f0864b8 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,9 @@ The following versions of PHP are supported. * PHP 7.2 * PHP 7.3 * PHP 7.4 +* PHP 8.0 +* PHP 8.1 +* PHP 8.2 ## Installation diff --git a/composer.json b/composer.json index 153f15c..e66a724 100644 --- a/composer.json +++ b/composer.json @@ -18,6 +18,8 @@ "discord" ], "require": { + "php": "^7.2|^8.0", + "ext-json": "*", "league/oauth2-client": "^2.0" }, "require-dev": {