From ce054ad6b125280f776f53028b4b40ed40a96c1a Mon Sep 17 00:00:00 2001 From: Davide Pastore Date: Sun, 29 Jan 2023 00:17:52 +0000 Subject: [PATCH] Support for PHP ^8.0 Fixes #73 --- .github/workflows/continuous-integration.yml | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 1e51573..05d3ce7 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-versions: ['7.2', '7.3'] + php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} steps: - uses: actions/checkout@v2 diff --git a/composer.json b/composer.json index 8c31320..29ee329 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "php": "^7.2", + "php": "^7.2|^8.0", "psr/http-message": "^1.0", "respect/validation": "^1.1 >=1.1.23", "slim/http": "^1.1",