Skip to content

Commit 8ada43c

Browse files
authored
[1.x] PHP 8.5 Compatibility (#154)
* [1.x] PHP 8.5 Compatibility Signed-off-by: Mior Muhammad Zaki <[email protected]> * wip Signed-off-by: Mior Muhammad Zaki <[email protected]> --------- Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 9944d59 commit 8ada43c

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: true
2121
matrix:
22-
php: [8.1, 8.2, 8.3, 8.4]
22+
php: [8.1, 8.2, 8.3, 8.4, 8.5]
2323
laravel: [10, 11, 12]
2424
exclude:
2525
- php: 8.1
@@ -28,6 +28,10 @@ jobs:
2828
laravel: 12
2929
- php: 8.4
3030
laravel: 10
31+
- php: 8.5
32+
laravel: 10
33+
- php: 8.5
34+
laravel: 11
3135

3236
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
3337

@@ -52,12 +56,12 @@ jobs:
5256
run: vendor/bin/pest
5357

5458
windows_tests:
55-
runs-on: windows-2019
59+
runs-on: windows-2022
5660

5761
strategy:
5862
fail-fast: true
5963
matrix:
60-
php: [8.1, 8.2, 8.3, 8.4]
64+
php: [8.1, 8.2, 8.3, 8.4, 8.5]
6165
laravel: [10, 11, 12]
6266
exclude:
6367
- php: 8.1
@@ -66,6 +70,10 @@ jobs:
6670
laravel: 12
6771
- php: 8.4
6872
laravel: 10
73+
- php: 8.5
74+
laravel: 10
75+
- php: 8.5
76+
laravel: 11
6977

7078
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} Windows
7179

composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"symfony/console": "^6.0|^7.0"
2929
},
3030
"require-dev": {
31-
"orchestra/testbench": "^8.6.0|^9.0|^10.0",
32-
"pestphp/pest": "^2.5|^3.0",
31+
"orchestra/testbench": "^8.36|^9.15|^10.8",
32+
"pestphp/pest": "^2.5|^3.0|^4.0",
3333
"phpstan/phpstan": "^1.10"
3434
},
3535
"autoload": {
@@ -58,10 +58,13 @@
5858
}
5959
},
6060
"config": {
61-
"sort-packages": true,
6261
"allow-plugins": {
6362
"pestphp/pest-plugin": true
64-
}
63+
},
64+
"audit": {
65+
"block-insecure": false
66+
},
67+
"sort-packages": true
6568
},
6669
"scripts": {
6770
"post-autoload-dump": "@composer run prepare",

0 commit comments

Comments
 (0)