Skip to content

Commit 23facd8

Browse files
committed
Bump minimum PHP to 8.4 and replace monolithic PSL with standalone packages
- Raise PHP requirement from ~8.3.0 to ~8.4.0 - Replace php-standard-library/php-standard-library with individual packages (^6.1) - Set psalm phpVersion to 8.4
1 parent f5051c1 commit 23facd8

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/grumphp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
operating-system: [ubuntu-latest]
10-
php-versions: ['8.3', '8.4', '8.5']
10+
php-versions: ['8.4', '8.5']
1111
composer-options: ['', '--prefer-lowest']
1212
fail-fast: false
1313
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} with ${{ matrix.composer-options }}

composer.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,16 @@
1515
}
1616
],
1717
"require": {
18-
"php": "~8.3.0 || ~8.4.0 || ~8.5.0",
18+
"php": "~8.4.0 || ~8.5.0",
1919
"ext-json": "*",
20-
"php-standard-library/php-standard-library": "^3.1 || ^4.0 || ^5.0 || ^6.0",
20+
"php-standard-library/foundation": "^6.1",
21+
"php-standard-library/fun": "^6.1",
22+
"php-standard-library/hash": "^6.1",
23+
"php-standard-library/iter": "^6.1",
24+
"php-standard-library/json": "^6.1",
25+
"php-standard-library/regex": "^6.1",
26+
"php-standard-library/result": "^6.1",
27+
"php-standard-library/type": "^6.1",
2128
"cardinalby/content-disposition": "^1.1",
2229
"league/uri": "^7.3",
2330
"php-http/client-common": "^2.7",

psalm.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
findUnusedBaselineEntry="true"
99
findUnusedCode="false"
1010
ensureOverrideAttribute="false"
11+
phpVersion="8.4"
1112
>
1213
<projectFiles>
1314
<directory name="src" />

0 commit comments

Comments
 (0)