Skip to content

Commit 51937c8

Browse files
authored
Merge pull request #4498 from Roardom/phpstan2
(Update) Upgrade to phpstan 2
2 parents 7879b43 + ab0851f commit 51937c8

File tree

6 files changed

+2008
-278
lines changed

6 files changed

+2008
-278
lines changed

app/Http/Controllers/API/ChatController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,8 @@ public function deleteRoomEcho(Request $request): \Illuminate\Contracts\Routing\
328328
event(new Chatter('echo', $user->id, UserEchoResource::collection($senderEchoes)));
329329

330330
/**
331-
* @phpstan-ignore-next-line Laravel automatically converts models to json
332331
* @see https://github.com/laravel/framework/blob/48246da2320c95a17bfae922d36264105a917906/src/Illuminate/Http/Response.php#L56
332+
* @phpstan-ignore-next-line Laravel automatically converts models to json
333333
*/
334334
return response($user);
335335
}
@@ -347,8 +347,8 @@ public function deleteTargetEcho(Request $request): \Illuminate\Contracts\Routin
347347
event(new Chatter('echo', $user->id, UserEchoResource::collection($senderEchoes)));
348348

349349
/**
350-
* @phpstan-ignore-next-line Laravel automatically converts models to json
351350
* @see https://github.com/laravel/framework/blob/48246da2320c95a17bfae922d36264105a917906/src/Illuminate/Http/Response.php#L56
351+
* @phpstan-ignore-next-line Laravel automatically converts models to json
352352
*/
353353
return response($user);
354354
}

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
"intervention/image": "^2.7.2",
2626
"joypixels/assets": "^v7.0.1",
2727
"laravel/fortify": "1.20.0",
28-
"laravel/framework": "^11.38.2",
28+
"laravel/framework": "^11.44.0",
2929
"laravel/octane": "^2.6.0",
3030
"laravel/scout": "^10.12.0",
3131
"laravel/tinker": "^2.10.0",
3232
"livewire/livewire": "^3.5.18",
3333
"marcreichel/igdb-laravel": "^4.3.0",
3434
"meilisearch/meilisearch-php": "^1.12.0",
35-
"nesbot/carbon": "2.72.3",
35+
"nesbot/carbon": "^2.73.0",
3636
"paragonie/constant_time_encoding": "^2.7.0",
3737
"resend/resend-laravel": "^0.14.0",
3838
"spatie/laravel-backup": "^8.8.2",
@@ -46,8 +46,8 @@
4646
"require-dev": {
4747
"barryvdh/laravel-debugbar": "^3.14.10",
4848
"brianium/paratest": "^7.7",
49-
"calebdw/larastan": "^v2.10.11",
50-
"calebdw/larastan-livewire": "^v1.1.0",
49+
"calebdw/larastan": "^3.1.7",
50+
"calebdw/larastan-livewire": "^2.1.0",
5151
"fakerphp/faker": "^1.24.1",
5252
"jasonmccreary/laravel-test-assertions": "^2.4.1",
5353
"laravel/pint": "v1.20.0",
@@ -57,11 +57,11 @@
5757
"pestphp/pest": "^3.7.2",
5858
"pestphp/pest-plugin-laravel": "^3.0",
5959
"pestphp/pest-plugin-livewire": "^3.0",
60-
"phpstan/phpstan": "^1.12.15",
60+
"phpstan/phpstan": "^2.1.6",
6161
"phpunit/phpunit": "^11.5.3",
6262
"ryoluo/sail-ssl": "^1.3.2",
6363
"spatie/laravel-ignition": "^2.9.0",
64-
"tomasvotruba/bladestan": "^0.5.0"
64+
"tomasvotruba/bladestan": "^0.11.0"
6565
},
6666
"config": {
6767
"preferred-install": "dist",

0 commit comments

Comments
 (0)