Skip to content

Commit 911d7e3

Browse files
committed
Allow Laravel 12
1 parent e09a9d5 commit 911d7e3

File tree

2 files changed

+32
-16
lines changed

2 files changed

+32
-16
lines changed

.github/workflows/validate.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
- "^9"
3333
- "^10"
3434
- "^11"
35+
- "^12"
3536
composer:
3637
- name: lowest
3738
arg: "--prefer-lowest --prefer-stable"
@@ -44,6 +45,10 @@ jobs:
4445
laravel-version: "^11"
4546
- php-version: "8.1"
4647
laravel-version: "^11"
48+
- php-version: "8.0"
49+
laravel-version: "^12"
50+
- php-version: "8.1"
51+
laravel-version: "^12"
4752

4853
steps:
4954
- uses: actions/checkout@v4
@@ -94,6 +99,7 @@ jobs:
9499
- "^9"
95100
- "^10"
96101
- "^11"
102+
- "^12"
97103
os:
98104
- ubuntu-latest
99105
composer:
@@ -108,6 +114,10 @@ jobs:
108114
laravel-version: "^11"
109115
- php-version: "8.1"
110116
laravel-version: "^11"
117+
- php-version: "8.0"
118+
laravel-version: "^12"
119+
- php-version: "8.1"
120+
laravel-version: "^12"
111121

112122
services:
113123
mysql:
@@ -162,7 +172,7 @@ jobs:
162172
strategy:
163173
matrix:
164174
php-version: ["8.4"]
165-
laravel-version: ["^11"]
175+
laravel-version: ["^12"]
166176

167177
services:
168178
mysql:
@@ -209,7 +219,7 @@ jobs:
209219
strategy:
210220
matrix:
211221
php-version: ["8.4"]
212-
laravel-version: ["^11"]
222+
laravel-version: ["^12"]
213223

214224
steps:
215225
- uses: actions/checkout@v4

composer.json

+20-14
Original file line numberDiff line numberDiff line change
@@ -29,37 +29,37 @@
2929
"php": "^8",
3030
"ext-json": "*",
3131
"haydenpierce/class-finder": "^0.4 || ^0.5",
32-
"illuminate/auth": "^9 || ^10 || ^11",
33-
"illuminate/bus": "^9 || ^10 || ^11",
34-
"illuminate/contracts": "^9 || ^10 || ^11",
35-
"illuminate/http": "^9 || ^10 || ^11",
36-
"illuminate/pagination": "^9 || ^10 || ^11",
37-
"illuminate/queue": "^9 || ^10 || ^11",
38-
"illuminate/routing": "^9 || ^10 || ^11",
39-
"illuminate/support": "^9 || ^10 || ^11",
40-
"illuminate/validation": "^9 || ^10 || ^11",
32+
"illuminate/auth": "^9 || ^10 || ^11 || ^12",
33+
"illuminate/bus": "^9 || ^10 || ^11 || ^12",
34+
"illuminate/contracts": "^9 || ^10 || ^11 || ^12",
35+
"illuminate/http": "^9 || ^10 || ^11 || ^12",
36+
"illuminate/pagination": "^9 || ^10 || ^11 || ^12",
37+
"illuminate/queue": "^9 || ^10 || ^11 || ^12",
38+
"illuminate/routing": "^9 || ^10 || ^11 || ^12",
39+
"illuminate/support": "^9 || ^10 || ^11 || ^12",
40+
"illuminate/validation": "^9 || ^10 || ^11 || ^12",
4141
"laragraph/utils": "^1.5 || ^2",
4242
"thecodingmachine/safe": "^1 || ^2 || ^3",
4343
"webonyx/graphql-php": "^15"
4444
},
4545
"require-dev": {
4646
"algolia/algoliasearch-client-php": "^3",
4747
"bensampo/laravel-enum": "^5 || ^6",
48-
"dms/phpunit-arraysubset-asserts": "^0.4 || ^0.5",
48+
"dms/phpunit-arraysubset-asserts": "^0.4 || ^0.5 || dev-add-phpunit-11-support",
4949
"ergebnis/composer-normalize": "^2.2.2",
5050
"fakerphp/faker": "^1.21",
5151
"google/protobuf": "^3.21",
5252
"larastan/larastan": "^2.9.14 || ^3.0.4",
53-
"laravel/framework": "^9 || ^10 || ^11",
53+
"laravel/framework": "^9 || ^10 || ^11 || ^12",
5454
"laravel/legacy-factories": "^1.1.1",
5555
"laravel/pennant": "^1",
56-
"laravel/scout": "^8 || ^9 || ^10 || ^11",
56+
"laravel/scout": "^8 || ^9 || ^10",
5757
"mattiasgeniar/phpunit-query-count-assertions": "^1.1",
5858
"mll-lab/graphql-php-scalars": "^6",
5959
"mll-lab/php-cs-fixer-config": "^5",
6060
"mockery/mockery": "^1.5",
61-
"nesbot/carbon": "^2.62.1",
62-
"orchestra/testbench": "^7.50 || ^8.32 || ^9.10",
61+
"nesbot/carbon": "^2.62.1 || ^3.8.4",
62+
"orchestra/testbench": "^7.50 || ^8.32 || ^9.10 || ^10.1",
6363
"phpbench/phpbench": "^1.2.6",
6464
"phpstan/extension-installer": "^1",
6565
"phpstan/phpstan": "^1.12.18 || ^2",
@@ -80,6 +80,12 @@
8080
"mll-lab/laravel-graphiql": "A graphical interactive in-browser GraphQL IDE - integrated with Laravel",
8181
"pusher/pusher-php-server": "Required when using the Pusher Subscriptions driver"
8282
},
83+
"repositories": [
84+
{
85+
"type": "vcs",
86+
"url": "https://github.com/pieterocp/phpunit-arraysubset-asserts"
87+
}
88+
],
8389
"minimum-stability": "dev",
8490
"prefer-stable": true,
8591
"autoload": {

0 commit comments

Comments
 (0)