fix(ci): drop unused Pennant feature discovery
All Pennant features were removed (replaced by BillingCycle), so app/Features no longer exists. Git does not track empty dirs, so a clean CI checkout has no app/Features directory and Feature::discover() throws in package:discover, failing the build before tests run. Remove the now-dead Pennant bootstrap (discover/resolveScopeUsing/useMorphMap) and its import.
This commit is contained in:
parent
7cc88f1036
commit
62e5883279
1 changed files with 0 additions and 5 deletions
|
|
@ -54,7 +54,6 @@
|
|||
use Laravel\Nightwatch\Facades\Nightwatch;
|
||||
use Laravel\Nightwatch\Records\CacheEvent;
|
||||
use Laravel\Passport\Passport;
|
||||
use Laravel\Pennant\Feature;
|
||||
use Laravel\Socialite\Facades\Socialite;
|
||||
use Laravel\Socialite\Two\GoogleProvider;
|
||||
use PostHog\PostHog;
|
||||
|
|
@ -96,10 +95,6 @@ public function boot(): void
|
|||
Cashier::useSubscriptionItemModel(SubscriptionItem::class);
|
||||
Cashier::keepPastDueSubscriptionsActive();
|
||||
|
||||
Feature::resolveScopeUsing(fn () => auth()->user()?->account);
|
||||
Feature::useMorphMap();
|
||||
Feature::discover();
|
||||
|
||||
$this->configurePassport();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue