| Conditions | 1 |
| Paths | 1 |
| Total Lines | 42 |
| Code Lines | 30 |
| 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('group') |
||
| 24 | ->searchable() |
||
| 25 | ->sortable(), |
||
| 26 | |||
| 27 | TextColumn::make('name') |
||
| 28 | ->searchable() |
||
| 29 | ->sortable(), |
||
| 30 | |||
| 31 | TextColumn::make('key') |
||
| 32 | ->searchable() |
||
| 33 | ->sortable(), |
||
| 34 | |||
| 35 | IconColumn::make('is_active') |
||
| 36 | ->boolean() |
||
| 37 | ->sortable(), |
||
| 38 | |||
| 39 | TextColumn::make('created_at') |
||
| 40 | ->dateTime() |
||
| 41 | ->sortable() |
||
| 42 | ->toggleable(isToggledHiddenByDefault: true), |
||
| 43 | ]) |
||
| 44 | ->filters([ |
||
| 45 | SelectFilter::make('group') |
||
| 46 | ->options(fn() => NotificationEvent::pluck('group', 'group')->toArray()), |
||
| 47 | |||
| 48 | TernaryFilter::make('is_active') |
||
| 49 | ->label('Active Status'), |
||
| 50 | ]) |
||
| 51 | ->recordActions([ |
||
| 52 | EditAction::make(), |
||
| 53 | DeleteAction::make(), |
||
| 54 | ]) |
||
| 55 | ->toolbarActions([ |
||
| 56 | BulkActionGroup::make([ |
||
| 57 | DeleteBulkAction::make(), |
||
| 58 | ]), |
||
| 59 | ]) |
||
| 60 | ->defaultSort('created_at', 'desc'); |
||
| 61 | } |
||
| 64 |
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