Drop support for PHP 8.0 and below

PHP 8.0 is no longer supported. Some of our dependencies now do not work
on PHP 8.0 anymore.

This commit will also run tests on PHP 8.3.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
This commit is contained in:
Henrique Moody 2024-01-27 19:56:32 +01:00
parent bd953f99f0
commit 24edfda1aa
No known key found for this signature in database
GPG key ID: 221E9281655813A6
3 changed files with 5 additions and 5 deletions

View file

@ -19,9 +19,9 @@ jobs:
strategy: strategy:
matrix: matrix:
php-version: php-version:
- "8.0"
- "8.1" - "8.1"
- "8.2" - "8.2"
- "8.3"
steps: steps:
- name: Checkout - name: Checkout
@ -62,7 +62,7 @@ jobs:
- name: Install PHP - name: Install PHP
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: 8.0 php-version: 8.1
coverage: pcov coverage: pcov
extensions: uopz extensions: uopz
tools: pecl tools: pecl
@ -96,7 +96,7 @@ jobs:
- name: Install PHP - name: Install PHP
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: 8.0 php-version: 8.3
coverage: none coverage: none
- name: Install dependencies - name: Install dependencies

View file

@ -18,7 +18,7 @@
} }
}, },
"require": { "require": {
"php": "^8.0 || ^8.1 || ^8.2", "php": "^8.1 || ^8.2",
"respect/stringifier": "^0.2.0", "respect/stringifier": "^0.2.0",
"symfony/polyfill-mbstring": "^1.2" "symfony/polyfill-mbstring": "^1.2"
}, },

View file

@ -7,4 +7,4 @@ you can install it using [Composer](http://getcomposer.org).
composer require respect/validation composer require respect/validation
``` ```
Works on PHP 7.3 or above. Works on PHP 8.1 or above.