Skip to content

Commit 09897ac

Browse files
authored
Drop support for old PHP versions and update dependencies accordingly (#107)
This only keeps support for PHP 8.1+, the lowest (security fix) supported version as of today.
1 parent 9e75f0f commit 09897ac

5 files changed

Lines changed: 666 additions & 512 deletions

File tree

.github/workflows/php-version-compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php: [7.2, 7.4, 8.1]
16+
php: [8.1, 8.2, 8.3]
1717
steps:
1818
- name: Configure PHP version
1919
uses: shivammathur/setup-php@v2

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Configure PHP version
1212
uses: shivammathur/setup-php@v2
1313
with:
14-
php-version: 7.4
14+
php-version: 8.1
1515
tools: composer:v2
1616
- uses: actions/checkout@v4
1717
- name: Install PHIVE

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
php: [7.2, 7.4, 8.1]
15+
php: [8.1, 8.2, 8.3]
1616
steps:
1717
- name: Configure PHP version
1818
uses: shivammathur/setup-php@v2

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"bin/slimdump"
1616
],
1717
"require": {
18-
"php": "^7.2|8.0.*|8.1.*",
18+
"php": ">= 8.1, <8.4",
1919
"ext-SimpleXML": "*",
2020
"ext-libxml": "*",
2121
"ext-pdo": "*",

0 commit comments

Comments
 (0)