Skip to content

Commit 4b5296f

Browse files
committed
Lower minimum PHP to 8.1 and restore CI matrix
Hub and saas still run PHP 8.2, so this package must support it. No 8.4-specific features are used in the source code.
1 parent 9ccb997 commit 4b5296f

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,18 @@ on:
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
12-
name: Tests
12+
strategy:
13+
matrix:
14+
php: ['8.1', '8.2', '8.3']
15+
name: PHP ${{ matrix.php }}
1316

1417
steps:
1518
- uses: actions/checkout@v4
1619

1720
- name: Setup PHP
1821
uses: shivammathur/setup-php@v2
1922
with:
20-
php-version: '8.4'
23+
php-version: ${{ matrix.php }}
2124
coverage: none
2225

2326
- name: Cache Composer dependencies

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "library",
55
"license": "MIT",
66
"require": {
7-
"php": "^8.4"
7+
"php": "^8.1"
88
},
99
"require-dev": {
1010
"pestphp/pest": "^2.0|^3.0"

0 commit comments

Comments
 (0)