Skip to content

Commit

Permalink
Drop support for PHP 8.0 and below
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
henriquemoody committed Jan 27, 2024
1 parent bd953f9 commit 24edfda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
strategy:
matrix:
php-version:
- "8.0"
- "8.1"
- "8.2"
- "8.3"

steps:
- name: Checkout
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
coverage: pcov
extensions: uopz
tools: pecl
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.3
coverage: none

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"require": {
"php": "^8.0 || ^8.1 || ^8.2",
"php": "^8.1 || ^8.2",
"respect/stringifier": "^0.2.0",
"symfony/polyfill-mbstring": "^1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ you can install it using [Composer](http://getcomposer.org).
composer require respect/validation
```

Works on PHP 7.3 or above.
Works on PHP 8.1 or above.

0 comments on commit 24edfda

Please sign in to comment.