Skip to content

Commit ffb2ea7

Browse files
Merge pull request #45 from TheDragonCode/andrey-helldar-patch-1
Added Laravel 12 support
2 parents bf48bf7 + 0eb1cf5 commit ffb2ea7

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

.github/workflows/laravel.yml renamed to .github/workflows/tests.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: laravel
1+
name: tests
22

33
on: [ push ]
44

@@ -9,12 +9,15 @@ jobs:
99
strategy:
1010
fail-fast: true
1111
matrix:
12-
php: [ "8.1", "8.2", "8.3" ]
13-
laravel: [ "10.0", "11.0" ]
12+
php: [ "8.1", "8.2", "8.3", "8.4" ]
13+
laravel: [ "10.0", "11.0", "12.0" ]
1414
exclude:
15+
- laravel: "10.0"
16+
php: "8.4"
1517
- laravel: "11.0"
1618
php: "8.1"
17-
19+
- laravel: "12.0"
20+
php: "8.1"
1821

1922
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}
2023

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@
3535
],
3636
"require": {
3737
"php": "^8.1",
38-
"illuminate/contracts": "^10.0 || ^11.0",
39-
"illuminate/http": "^10.0 || ^11.0",
40-
"illuminate/support": "^10.0 || ^11.0",
38+
"illuminate/contracts": "^10.0 || ^11.0 || ^12.0",
39+
"illuminate/http": "^10.0 || ^11.0 || ^12.0",
40+
"illuminate/support": "^10.0 || ^11.0 || ^12.0",
4141
"lmc/http-constants": "^1.2",
4242
"symfony/http-foundation": "^6.0 || ^7.0"
4343
},
4444
"require-dev": {
45-
"orchestra/testbench": "^8.0 || ^9.0",
46-
"phpunit/phpunit": "^10.0"
45+
"orchestra/testbench": "^8.0 || ^9.0 || ^10.0",
46+
"phpunit/phpunit": "^10.0 || ^11.0 || ^12.0"
4747
},
4848
"conflict": {
4949
"andrey-helldar/laravel-json-response": "*"
@@ -77,4 +77,4 @@
7777
]
7878
}
7979
}
80-
}
80+
}

0 commit comments

Comments
 (0)