Skip to content

Commit 2d83845

Browse files
committed
Fix platform
1 parent 8da91dd commit 2d83845

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
# Ensure that deps will work on lowest supported PHP version
2929
- name: Choose a Suitable PHP Version to Build PHAR
30-
run: composer config platform.php 7.0.33
30+
run: composer config platform.php 8.1
3131

3232
- name: Get Composer Cache Directory
3333
id: composer-cache

composer.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@
3232
"prefer-stable": true,
3333
"config": {
3434
"optimize-autoloader": true,
35-
"platform": {},
3635
"preferred-install": "dist",
37-
"sort-packages": true
36+
"sort-packages": true,
37+
"platform": {
38+
"php": "8.1"
39+
}
3840
}
3941
}

0 commit comments

Comments
 (0)