Skip to content

Commit 4a39a82

Browse files
authored
[1.x] PHP 8.5 Compatibility (#467)
* [1.x] PHP 8.5 Compatibility Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> * Disable `cachewerk/relay` on 8.5 for now Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> --------- Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
1 parent 054cc98 commit 4a39a82

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
php: [8.1, 8.2, 8.3, 8.4]
3737
laravel: [10, 11, 12]
3838
stability: [prefer-lowest, prefer-stable]
39+
include:
40+
- php: 8.5
41+
laravel: 12
42+
stability: prefer-stable
3943
exclude:
4044
- php: 8.1
4145
laravel: 11
@@ -65,6 +69,7 @@ jobs:
6569
- name: Require cachewerk/relay
6670
run: |
6771
composer require cachewerk/relay --no-interaction --no-update
72+
if: matrix.php != 8.5
6873

6974
- name: Install dependencies
7075
run: |
@@ -127,6 +132,7 @@ jobs:
127132
- name: Require cachewerk/relay
128133
run: |
129134
composer require cachewerk/relay --no-interaction --no-update
135+
if: matrix.php != 8.5
130136

131137
- name: Install dependencies
132138
run: |
@@ -187,6 +193,7 @@ jobs:
187193
- name: Require cachewerk/relay
188194
run: |
189195
composer require cachewerk/relay --no-interaction --no-update
196+
if: matrix.php != 8.5
190197

191198
- name: Install dependencies
192199
run: |
@@ -238,6 +245,7 @@ jobs:
238245
- name: Require cachewerk/relay
239246
run: |
240247
composer require cachewerk/relay --no-interaction --no-update
248+
if: matrix.php != 8.5
241249

242250
- name: Install dependencies
243251
run: |

composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
"require-dev": {
3939
"guzzlehttp/guzzle": "^7.7",
4040
"mockery/mockery": "^1.0",
41-
"orchestra/testbench": "^8.23.1|^9.0|^10.0",
42-
"pestphp/pest": "^2.0",
41+
"orchestra/testbench": "^8.36|^9.15|^10.8",
42+
"pestphp/pest": "^2.0|^3.0|^4.0",
4343
"pestphp/pest-plugin-laravel": "^2.2",
4444
"phpstan/phpstan": "^1.12.21",
4545
"predis/predis": "^1.0|^2.0"
@@ -71,10 +71,13 @@
7171
}
7272
},
7373
"config": {
74-
"sort-packages": true,
7574
"allow-plugins": {
7675
"pestphp/pest-plugin": true
77-
}
76+
},
77+
"audit": {
78+
"block-insecure": false
79+
},
80+
"sort-packages": true
7881
},
7982
"minimum-stability": "dev",
8083
"prefer-stable": true,

0 commit comments

Comments
 (0)