Skip to content

Commit 811e9e8

Browse files
authored
Merge pull request #22 from crazynds/patch-1
[1.x] Update composer.json to support laravel 12
2 parents df162ac + f368543 commit 811e9e8

File tree

2 files changed

+25
-9
lines changed

2 files changed

+25
-9
lines changed

.github/workflows/tests.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
php: [8.0, 8.1, 8.2, 8.3]
12-
laravel: [9.*, 10.*, 11.*]
11+
php: [8.0, 8.1, 8.2, 8.3, 8.4]
12+
laravel: [9.*, 10.*, 11.*, 12.*]
1313
dependency-version: [prefer-lowest, prefer-stable]
1414
include:
15+
- laravel: 12.*
16+
testbench: 10.*
17+
pest-plugin-laravel: 3.1.0
18+
1519
- laravel: 11.*
1620
testbench: 9.*
1721
pest-plugin-laravel: 2.3.0
@@ -25,15 +29,27 @@ jobs:
2529
pest-plugin-laravel: 1.4.0
2630

2731
exclude:
32+
- laravel: 12.*
33+
php: 8.1
34+
35+
- laravel: 12.*
36+
php: 8.0
37+
2838
- laravel: 11.*
2939
php: 8.0
3040

3141
- laravel: 11.*
3242
php: 8.1
3343

44+
- laravel: 10.*
45+
php: 8.4
46+
3447
- laravel: 10.*
3548
php: 8.0
3649

50+
- laravel: 9.*
51+
php: 8.4
52+
3753
- laravel: 9.*
3854
php: 8.3
3955

@@ -55,5 +71,4 @@ jobs:
5571
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "pestphp/pest-plugin-laravel:${{ matrix.pest-plugin-laravel }}" --no-interaction --no-update
5672
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
5773
- name: Execute tests
58-
run: vendor/bin/pest
59-
74+
run: vendor/bin/pest

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,20 @@
1414
"laravel-stub",
1515
"laravel stub",
1616
"laravel stub package",
17-
"laravel stub binafy"
17+
"laravel stub binafy",
18+
"laravel stub generator"
1819
],
1920
"homepage": "https://github.com/binafy/laravel-stub",
2021
"type": "library",
2122
"license": "MIT",
2223
"minimum-stability": "stable",
2324
"require": {
2425
"php": "^8.0",
25-
"illuminate/support": "^9.0|^10.0|^11.0"
26+
"illuminate/support": "^9.0|^10.0|^11.0|^12.0"
2627
},
2728
"require-dev": {
28-
"pestphp/pest-plugin-laravel": "1.*|2.*",
29-
"orchestra/testbench": "8.*|9.*"
29+
"pestphp/pest-plugin-laravel": "1.*|2.*|3.*",
30+
"orchestra/testbench": "8.*|9.*|10.*"
3031
},
3132
"autoload": {
3233
"psr-4": {
@@ -40,7 +41,7 @@
4041
},
4142
"authors": [
4243
{
43-
"name": "milwad-dev",
44+
"name": "Milwad Khosravi",
4445
"email": "[email protected]",
4546
"role": "author",
4647
"homepage": "https://github.com/milwad-dev"

0 commit comments

Comments
 (0)