| Conditions | 6 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function register(): void |
||
| 16 | { |
||
| 17 | // Telescope::night(); |
||
| 18 | |||
| 19 | $this->hideSensitiveRequestDetails(); |
||
| 20 | |||
| 21 | $isLocal = $this->app->environment('local'); |
||
| 22 | |||
| 23 | Telescope::filter(function (IncomingEntry $entry) use ($isLocal) { |
||
| 24 | return $isLocal || |
||
| 25 | $entry->isReportableException() || |
||
| 26 | $entry->isFailedRequest() || |
||
| 27 | $entry->isFailedJob() || |
||
| 28 | $entry->isScheduledTask() || |
||
| 29 | $entry->hasMonitoredTag(); |
||
| 30 | }); |
||
| 65 |