usamamuneerchaudhary /
filament-notifier
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Usamamuneerchaudhary\Notifier\Filament\Pages; |
||
| 4 | |||
| 5 | use Filament\Pages\Page; |
||
| 6 | use Usamamuneerchaudhary\Notifier\Filament\Widgets\NotificationAnalyticsChart; |
||
| 7 | use Usamamuneerchaudhary\Notifier\Filament\Widgets\NotificationChannelPerformance; |
||
| 8 | use Usamamuneerchaudhary\Notifier\Filament\Widgets\NotificationEngagementStats; |
||
| 9 | use Usamamuneerchaudhary\Notifier\Filament\Widgets\NotificationStatsOverview; |
||
| 10 | use Usamamuneerchaudhary\Notifier\Filament\Widgets\NotificationTimeSeriesChart; |
||
| 11 | use Usamamuneerchaudhary\Notifier\Filament\Widgets\RateLimitingStatusWidget; |
||
| 12 | |||
| 13 | class NotifierDashboard extends Page |
||
| 14 | { |
||
| 15 | protected static string|null|\BackedEnum $navigationIcon = 'heroicon-o-chart-bar'; |
||
|
0 ignored issues
–
show
|
|||
| 16 | protected static string|null|\UnitEnum $navigationGroup = 'Notifier'; |
||
|
0 ignored issues
–
show
The type
UnitEnum was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 17 | protected static ?string $title = 'Notifier Dashboard'; |
||
| 18 | protected static ?string $navigationLabel = 'Dashboard'; |
||
| 19 | protected static ?int $navigationSort = 0; |
||
| 20 | protected string $view = 'notifier::pages.dashboard'; |
||
| 21 | |||
| 22 | |||
| 23 | protected function getWidgets(): array |
||
| 24 | { |
||
| 25 | return [ |
||
| 26 | NotificationStatsOverview::class, |
||
| 27 | NotificationEngagementStats::class, |
||
| 28 | NotificationTimeSeriesChart::class, |
||
| 29 | NotificationAnalyticsChart::class, |
||
| 30 | NotificationChannelPerformance::class, |
||
| 31 | RateLimitingStatusWidget::class, |
||
| 32 | ]; |
||
| 33 | } |
||
| 34 | } |
||
| 35 | |||
| 36 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths