Skip to content

Commit 4c60154

Browse files
Upgrade Laravel Zero to 11 from 10
1 parent 417c562 commit 4c60154

File tree

6 files changed

+754
-558
lines changed

6 files changed

+754
-558
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
with:
5757
name: notifications
5858
path: builds/notifications
59-
retention-days: 14
59+
retention-days: 1
6060

6161
pull_request:
6262
runs-on: ubuntu-latest

bootstrap/app.php

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
<?php
22

3-
use Illuminate\Contracts\Console\Kernel as ConsoleKernel;
4-
use Illuminate\Contracts\Debug\ExceptionHandler;
5-
use Illuminate\Foundation\Exceptions\Handler;
63
use LaravelZero\Framework\Application;
7-
use LaravelZero\Framework\Kernel;
84

9-
$app = new Application(dirname(__DIR__));
10-
11-
$app->singleton(ConsoleKernel::class, Kernel::class);
12-
$app->singleton(ExceptionHandler::class, Handler::class);
13-
14-
return $app;
5+
return Application::configure(
6+
basePath: dirname(__DIR__)
7+
)->create();

builds/notifications

1.58 MB
Binary file not shown.

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
"require-dev": {
3737
"guzzlehttp/guzzle": "^7.8.1",
3838
"knplabs/github-api": "^3.14.1",
39-
"laravel-zero/framework": "^10.3",
39+
"laravel-zero/framework": "^11.0.1",
4040
"mockery/mockery": "^1.6.11",
41-
"nunomaduro/termwind": "^1.15.1",
42-
"pestphp/pest": "^2.34.6"
41+
"nunomaduro/termwind": "^2.0.1",
42+
"pestphp/pest": "^2.34.7"
4343
},
4444
"minimum-stability": "stable",
4545
"prefer-stable": true,

0 commit comments

Comments
 (0)