From 4a0e5842456819caafad7e5195b2bfe880a95d6d Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Thu, 9 Mar 2023 11:56:20 -0600 Subject: [PATCH] remove unused imports --- src/Controllers/CacheController.php | 2 -- src/Controllers/TelescopeController.php | 3 --- src/DataCollector/EventCollector.php | 1 - src/DataCollector/GateCollector.php | 1 - src/DataCollector/LivewireCollector.php | 4 ---- src/DataCollector/MultiAuthCollector.php | 3 --- src/DataCollector/RouteCollector.php | 2 -- src/JavascriptRenderer.php | 1 - src/LaravelDebugbar.php | 2 -- src/ServiceProvider.php | 2 -- src/Storage/FilesystemStorage.php | 1 - src/Support/Clockwork/ClockworkCollector.php | 1 - src/SymfonyHttpDriver.php | 2 -- 13 files changed, 25 deletions(-) diff --git a/src/Controllers/CacheController.php b/src/Controllers/CacheController.php index c347700b..7822c3a3 100644 --- a/src/Controllers/CacheController.php +++ b/src/Controllers/CacheController.php @@ -2,8 +2,6 @@ namespace Barryvdh\Debugbar\Controllers; -use Illuminate\Http\Response; - class CacheController extends BaseController { /** diff --git a/src/Controllers/TelescopeController.php b/src/Controllers/TelescopeController.php index 8f263b4c..4e22e1a9 100644 --- a/src/Controllers/TelescopeController.php +++ b/src/Controllers/TelescopeController.php @@ -2,9 +2,6 @@ namespace Barryvdh\Debugbar\Controllers; -use Barryvdh\Debugbar\Support\Clockwork\Converter; -use DebugBar\OpenHandler; -use Illuminate\Http\Response; use Laravel\Telescope\Contracts\EntriesRepository; use Laravel\Telescope\IncomingEntry; use Laravel\Telescope\Storage\EntryQueryOptions; diff --git a/src/DataCollector/EventCollector.php b/src/DataCollector/EventCollector.php index 07b67af2..27f902f7 100644 --- a/src/DataCollector/EventCollector.php +++ b/src/DataCollector/EventCollector.php @@ -6,7 +6,6 @@ use DebugBar\DataCollector\TimeDataCollector; use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Support\Str; -use Symfony\Component\VarDumper\Cloner\VarCloner; class EventCollector extends TimeDataCollector { diff --git a/src/DataCollector/GateCollector.php b/src/DataCollector/GateCollector.php index e0823533..1b3bafd8 100644 --- a/src/DataCollector/GateCollector.php +++ b/src/DataCollector/GateCollector.php @@ -7,7 +7,6 @@ use Illuminate\Auth\Access\Response; use Illuminate\Contracts\Auth\Access\Gate; use Illuminate\Contracts\Auth\Authenticatable; -use Symfony\Component\VarDumper\Cloner\VarCloner; use Illuminate\Support\Str; /** diff --git a/src/DataCollector/LivewireCollector.php b/src/DataCollector/LivewireCollector.php index fe8d29d8..9da442cb 100644 --- a/src/DataCollector/LivewireCollector.php +++ b/src/DataCollector/LivewireCollector.php @@ -5,12 +5,8 @@ use DebugBar\DataCollector\DataCollector; use DebugBar\DataCollector\DataCollectorInterface; use DebugBar\DataCollector\Renderable; -use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Contracts\View\View; use Illuminate\Http\Request; -use Illuminate\Support\Arr; -use Illuminate\Support\Fluent; -use Illuminate\Support\Str; use Livewire\Livewire; /** diff --git a/src/DataCollector/MultiAuthCollector.php b/src/DataCollector/MultiAuthCollector.php index c5c0aa72..c28c7d6b 100644 --- a/src/DataCollector/MultiAuthCollector.php +++ b/src/DataCollector/MultiAuthCollector.php @@ -4,11 +4,8 @@ use DebugBar\DataCollector\DataCollector; use DebugBar\DataCollector\Renderable; -use Illuminate\Auth\Recaller; -use Illuminate\Auth\SessionGuard; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Contracts\Auth\Guard; -use Illuminate\Support\Str; use Illuminate\Contracts\Support\Arrayable; /** diff --git a/src/DataCollector/RouteCollector.php b/src/DataCollector/RouteCollector.php index a255302f..b03594ff 100644 --- a/src/DataCollector/RouteCollector.php +++ b/src/DataCollector/RouteCollector.php @@ -5,8 +5,6 @@ use Closure; use DebugBar\DataCollector\DataCollector; use DebugBar\DataCollector\Renderable; -use Illuminate\Http\Request; -use Illuminate\Routing\Route; use Illuminate\Routing\Router; use Illuminate\Support\Facades\Config; use InvalidArgumentException; diff --git a/src/JavascriptRenderer.php b/src/JavascriptRenderer.php index 9c967909..b2a927a6 100644 --- a/src/JavascriptRenderer.php +++ b/src/JavascriptRenderer.php @@ -4,7 +4,6 @@ use DebugBar\DebugBar; use DebugBar\JavascriptRenderer as BaseJavascriptRenderer; -use Illuminate\Routing\UrlGenerator; /** * {@inheritdoc} diff --git a/src/LaravelDebugbar.php b/src/LaravelDebugbar.php index cfc6db4a..b55bddec 100644 --- a/src/LaravelDebugbar.php +++ b/src/LaravelDebugbar.php @@ -6,10 +6,8 @@ use Barryvdh\Debugbar\DataCollector\CacheCollector; use Barryvdh\Debugbar\DataCollector\EventCollector; use Barryvdh\Debugbar\DataCollector\FilesCollector; -use Barryvdh\Debugbar\DataCollector\GateCollector; use Barryvdh\Debugbar\DataCollector\LaravelCollector; use Barryvdh\Debugbar\DataCollector\LogsCollector; -use Barryvdh\Debugbar\DataCollector\ModelsCollector; use Barryvdh\Debugbar\DataCollector\MultiAuthCollector; use Barryvdh\Debugbar\DataCollector\QueryCollector; use Barryvdh\Debugbar\DataCollector\SessionCollector; diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 11ea596e..0584ddf9 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -2,7 +2,6 @@ namespace Barryvdh\Debugbar; -use Barryvdh\Debugbar\Middleware\DebugbarEnabled; use Barryvdh\Debugbar\Middleware\InjectDebugbar; use DebugBar\DataFormatter\DataFormatter; use DebugBar\DataFormatter\DataFormatterInterface; @@ -12,7 +11,6 @@ use Illuminate\Session\SessionManager; use Illuminate\Support\Collection; use Illuminate\View\Engines\EngineResolver; -use Barryvdh\Debugbar\Facade as DebugBar; class ServiceProvider extends \Illuminate\Support\ServiceProvider { diff --git a/src/Storage/FilesystemStorage.php b/src/Storage/FilesystemStorage.php index 327f2ebd..969e5ae9 100644 --- a/src/Storage/FilesystemStorage.php +++ b/src/Storage/FilesystemStorage.php @@ -3,7 +3,6 @@ namespace Barryvdh\Debugbar\Storage; use DebugBar\Storage\StorageInterface; -use Illuminate\Filesystem\Filesystem; use Symfony\Component\Finder\Finder; /** diff --git a/src/Support/Clockwork/ClockworkCollector.php b/src/Support/Clockwork/ClockworkCollector.php index 3923a9fe..67ecf18e 100644 --- a/src/Support/Clockwork/ClockworkCollector.php +++ b/src/Support/Clockwork/ClockworkCollector.php @@ -5,7 +5,6 @@ use DebugBar\DataCollector\DataCollector; use DebugBar\DataCollector\DataCollectorInterface; use DebugBar\DataCollector\Renderable; -use Symfony\Component\HttpFoundation\Response; /** * diff --git a/src/SymfonyHttpDriver.php b/src/SymfonyHttpDriver.php index 088a5ab9..240880b2 100644 --- a/src/SymfonyHttpDriver.php +++ b/src/SymfonyHttpDriver.php @@ -3,8 +3,6 @@ namespace Barryvdh\Debugbar; use DebugBar\HttpDriverInterface; -use Symfony\Component\HttpFoundation\Response; -use Symfony\Component\HttpFoundation\Session\Session; /** * HTTP driver for Symfony Request/Session