Skip to content

Commit e2dd206

Browse files
committed
Drop support for PHP 7.x, 8.0, 8.1, 8.2.
1 parent 1acddea commit e2dd206

2 files changed

Lines changed: 7 additions & 20 deletions

File tree

.github/workflows/continuous-integration.yml

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ jobs:
2929
- name: "Install PHP"
3030
uses: "shivammathur/setup-php@v2"
3131
with:
32-
# Use PHP 8.3 until psalm resolves issues with 8.4
33-
# https://github.com/vimeo/psalm/issues/11107
34-
php-version: "8.3"
32+
php-version: "8.4"
3533
coverage: "none"
3634

3735
- name: "Install dependencies (Composer)"
@@ -53,9 +51,7 @@ jobs:
5351
- name: "Install PHP"
5452
uses: "shivammathur/setup-php@v2"
5553
with:
56-
# Use PHP 8.3 until psalm resolves issues with 8.4
57-
# https://github.com/vimeo/psalm/issues/11107
58-
php-version: "8.3"
54+
php-version: "8.4"
5955
coverage: "none"
6056

6157
- name: "Install dependencies (Composer)"
@@ -82,9 +78,7 @@ jobs:
8278
- name: "Install PHP"
8379
uses: "shivammathur/setup-php@v2"
8480
with:
85-
# Use PHP 8.3 until psalm resolves issues with 8.4
86-
# https://github.com/vimeo/psalm/issues/11107
87-
php-version: "8.3"
81+
php-version: "8.4"
8882
extensions: bcmath, gmp, sodium, uuid
8983
coverage: "xdebug" # Enable Xdebug for code coverage
9084
ini-values: "memory_limit=-1"
@@ -95,7 +89,7 @@ jobs:
9589
dependency-versions: "${{ matrix.dependencies }}"
9690

9791
- name: "Run unit tests (PHPUnit)"
98-
run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml"
92+
run: "./vendor/bin/phpunit --colors=always --coverage-text --coverage-clover build/logs/clover.xml"
9993

10094
- name: "Publish coverage report to Codecov"
10195
uses: "codecov/codecov-action@v5"
@@ -109,22 +103,15 @@ jobs:
109103
fail-fast: false
110104
matrix:
111105
php-version:
112-
- "7.4"
113-
- "8.0"
114-
- "8.1"
115-
- "8.2"
116106
- "8.3"
117-
# - "8.4"
107+
- "8.4"
118108
operating-system:
119109
- "ubuntu-latest"
120110
- "windows-latest"
121111
- "macos-latest"
122112
include:
123113
# Keep the locked version by default
124114
- dependency-versions: "locked"
125-
# For PHP 8.0, installing with --prefer-highest to use latest libraries.
126-
- php-version: "8.0"
127-
dependency-versions: "highest"
128115

129116
steps:
130117
- name: "Configure Git (for Windows)"
@@ -158,5 +145,5 @@ jobs:
158145

159146
# Run Tests
160147
- name: "Run unit tests (PHPUnit)"
161-
run: "./vendor/bin/phpunit --verbose --colors=always --no-coverage"
148+
run: "./vendor/bin/phpunit --colors=always --no-coverage"
162149

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
],
1111
"type": "library",
1212
"require": {
13-
"php": ">=8.1 <=8.4.5",
13+
"php": ">=8.3 <8.5",
1414
"ext-json": "*",
1515
"ext-openssl": "*",
1616
"ext-curl": "*",

0 commit comments

Comments
 (0)