| Conditions | 1 |
| Paths | 1 |
| Total Lines | 31 |
| Code Lines | 26 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 19 | public static function configure(Table $table): Table |
||
| 20 | { |
||
| 21 | return $table |
||
| 22 | ->columns([ |
||
| 23 | TextColumn::make('name') |
||
| 24 | ->label('Template Name') |
||
| 25 | ->searchable() |
||
| 26 | ->sortable(), |
||
| 27 | TextColumn::make('event.name') |
||
| 28 | ->label('Event') |
||
| 29 | ->searchable() |
||
| 30 | ->sortable(), |
||
| 31 | IconColumn::make('is_active') |
||
| 32 | ->boolean(), |
||
| 33 | TextColumn::make('created_at') |
||
| 34 | ->dateTime() |
||
| 35 | ->sortable(), |
||
| 36 | ]) |
||
| 37 | ->filters([ |
||
| 38 | SelectFilter::make('event_key') |
||
| 39 | ->label('Event') |
||
| 40 | ->options(fn() => NotificationEvent::pluck('name', 'key')->toArray()), |
||
| 41 | TernaryFilter::make('is_active'), |
||
| 42 | ]) |
||
| 43 | ->recordActions([ |
||
| 44 | EditAction::make(), |
||
| 45 | DeleteAction::make(), |
||
| 46 | ]) |
||
| 47 | ->toolbarActions([ |
||
| 48 | BulkActionGroup::make([ |
||
| 49 | DeleteBulkAction::make(), |
||
| 50 | ]), |
||
| 55 |
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