Skip to content

Commit

Permalink
because of Laravel 11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mlantz committed Mar 12, 2024
1 parent 0573778 commit 7b72fc4
Show file tree
Hide file tree
Showing 6 changed files with 577 additions and 850 deletions.
2 changes: 1 addition & 1 deletion .phpunit.cache/test-results

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Providers/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function boot()

// Gateway for determining subscribers
Gate::define('subscribed', function ($user) {
return $user->hasActiveSubscription() || $user->onTrial();
return $user->hasActiveSubscription() || $user->onTrial() || $user->hasRole('admin');
});

// Gateway for determining not cancelled subscribers
Expand Down
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"license": "MIT",
"require": {
"php": "^8.0",
"php": "^8.2",
"aws/aws-sdk-php": "^3.192",
"bacon/bacon-qr-code": "^2.0",
"barryvdh/laravel-debugbar": "^3.6",
Expand All @@ -20,16 +20,16 @@
"grafite/database": "^2.5.2",
"grafite/forms": "^6.2",
"grafite/html": "^1.0",
"grafite/maintenance": "^0.3.1",
"grafite/mission-control-laravel": "^2.0",
"grafite/maintenance": "^0.4.0",
"grafite/mission-control-laravel": "^3.4",
"grafite/support": "^1.1",
"guzzlehttp/guzzle": "^7.2",
"hisorange/browser-detect": "^4.5",
"intervention/image": "^2.5",
"laravel/cashier": "^14.0",
"laravel/framework": "^10.0",
"laravel/cashier": "^15.0",
"laravel/framework": "^11.0",
"laravel/helpers": "^1.1",
"laravel/sanctum": "^3.0",
"laravel/sanctum": "^4.0",
"lasserafn/php-initial-avatar-generator": "^4.0",
"livewire/livewire": "^3.0",
"pragmarx/google2fa-laravel": "^2.0",
Expand All @@ -42,9 +42,8 @@
},
"require-dev": {
"brianium/paratest": "^7.0",
"codedungeon/phpunit-result-printer": "^0.31.0",
"fakerphp/faker": "^1.10",
"laravel/dusk": "^7.0",
"laravel/dusk": "^8.0",
"laravel/sail": "^1.14",
"laravel/pint": "^1.10",
"mockery/mockery": "^1.3",
Expand Down
Loading

0 comments on commit 7b72fc4

Please sign in to comment.