Skip to content

Commit 541c35c

Browse files
committed
Ignore SpotlightSearchable as its only used in modules
1 parent 12492fb commit 541c35c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Traits/WithCustomLivewireException.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Exception;
66
use Filament\Notifications\Notification;
7-
use Illuminate\Support\Facades\Log;
87
use Illuminate\Validation\ValidationException;
98
use Symfony\Component\HttpKernel\Exception\HttpException;
109

@@ -22,7 +21,7 @@ public function exception($e, $stopPropagation)
2221
$this->log($e, 'error'); // @phpstan-ignore-line
2322
}
2423

25-
if (! $e instanceof ValidationException) {
24+
if (!$e instanceof ValidationException) {
2625
Notification::make()
2726
->title(__('messages.notifications.something_went_wrong'))
2827
->danger()

phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ parameters:
1313
noEnvCallsOutsideOfConfig: false
1414
excludePaths:
1515
- ./app/Traits/WithCustomLivewireException.php
16+
- ./app/Traits/SpotlightSearchable.php

0 commit comments

Comments
 (0)