Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): use laravel 10 #2036

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .hooks/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ npx eslint --quiet
printf "\n⏳ npm run test\n"
npm run test

printf "\n⏳ composer test\n"
vendor/bin/phpunit
printf "\n⏳ composer paratest\n"
vendor/bin/paratest

printf "\n✅ pre-push OK\n\n"
1 change: 0 additions & 1 deletion app/Community/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,5 @@ class AuthServiceProvider extends ServiceProvider

public function boot(): void
{
$this->registerPolicies();
}
}
2 changes: 2 additions & 0 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ protected function schedule(Schedule $schedule)
{
// $schedule->command('websockets:clean')->daily();

$schedule->command('cache:prune-stale-tags')->hourly();

$schedule->command('horizon:snapshot')->everyFiveMinutes();
$schedule->command('queue:prune-batches --hours=48 --unfinished=72 --cancelled=72')->daily();

Expand Down
1 change: 1 addition & 0 deletions app/Helpers/database/set-claim.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use App\Support\Cache\CacheKey;
use Carbon\Carbon;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\DB;

/**
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Kernel extends HttpKernel
* The application's route middleware.
* These middlewares may be assigned to groups or used individually.
*/
protected $routeMiddleware = [
protected $middlewareAliases = [
'auth' => \App\Site\Middleware\Authenticate::class,
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
Expand Down
2 changes: 0 additions & 2 deletions app/Platform/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ class AuthServiceProvider extends ServiceProvider

public function boot(): void
{
$this->registerPolicies();

/*
* providers
*/
Expand Down
2 changes: 0 additions & 2 deletions app/Site/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ public function register()

public function boot(): void
{
$this->registerPolicies();

/*
* passport api
* http://esbenp.github.io/2017/03/19/modern-rest-api-laravel-part-4/
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"jenssegers/optimus": "^1.1",
"laravel-notification-channels/webhook": "^2.3",
"laravel/fortify": "^1.13",
"laravel/framework": "^9.30",
"laravel/framework": "^10.0",
"laravel/horizon": "^5.10",
"laravel/octane": "^1.3",
"laravel/passport": "^11.2",
Expand Down Expand Up @@ -75,10 +75,10 @@
"phpunit/phpunit": "^9.5",
"predis/predis": "^2.0",
"rector/rector": "^0.17.6",
"spatie/laravel-ignition": "^1.4",
"worksome/envy": "^0.5"
"spatie/laravel-ignition": "^2.0",
"worksome/envy": "^1.1.0"
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
Expand Down
Loading
Loading