Skip to content

Commit

Permalink
Upgrade to Laravel 10
Browse files Browse the repository at this point in the history
  • Loading branch information
JanOppolzer committed Feb 12, 2024
1 parent 3477e1c commit 8319a7f
Show file tree
Hide file tree
Showing 5 changed files with 1,662 additions and 1,296 deletions.
2 changes: 1 addition & 1 deletion app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Kernel extends HttpKernel
*
* @var array
*/
protected $routeMiddleware = [
protected $middlewareAliases = [
'auth' => \App\Http\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/Providers/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ class AuthServiceProvider extends ServiceProvider
*/
public function boot()
{
$this->registerPolicies();

Gate::define('do-everything', function ($user) {
return $user->admin;
});
Expand Down
23 changes: 12 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,35 @@
{
"name": "laravel/laravel",
"name": "janoppolzer/metaman",
"type": "project",
"description": "The Laravel Framework.",
"description": "MetaMan is a Laravel-based web application to manage SAML metadata.",
"keywords": [
"framework",
"laravel"
"metaman",
"metadata",
"saml"
],
"license": "MIT",
"require": {
"php": "^8.1.0",
"czproject/git-php": "^4.0",
"directorytree/ldaprecord-laravel": "^2.7",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^9.19",
"laravel/framework": "^10.0",
"laravel/tinker": "^2.7",
"livewire/livewire": "^2.10"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.6",
"brianium/paratest": "^6.2",
"brianium/paratest": "^7.0",
"fakerphp/faker": "^1.9.1",
"laravel/dusk": "^7.3",
"laravel/envoy": "^2.8",
"laravel/pint": "^1.1",
"laravel/sail": "^1.0.1",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^6.1",
"phpunit/php-code-coverage": "^9.2",
"phpunit/phpunit": "^9.5.10",
"spatie/laravel-ignition": "^1.0",
"nunomaduro/collision": "^7.0",
"phpunit/php-code-coverage": "^10.0",
"phpunit/phpunit": "^10.0",
"spatie/laravel-ignition": "^2.0",
"vlucas/phpdotenv": "^5.5"
},
"config": {
Expand Down Expand Up @@ -56,7 +57,7 @@
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
Expand Down
Loading

0 comments on commit 8319a7f

Please sign in to comment.