Completed
Push — master ( 68d4ae...9b4abe )
by Ricardo
06:47
created
src/Http/Controllers/AnalyticsController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Tracking\Http\Controllers;
4 4
 
5
-use Tracking\Services\AnalyticsService;
6 5
 use Illuminate\Support\Facades\Schema;
7 6
 use Spatie\Analytics\Analytics;
8 7
 use Spatie\Analytics\Period;
8
+use Tracking\Services\AnalyticsService;
9 9
 
10 10
 class AnalyticsController extends Controller
11 11
 {
Please login to merge, or discard this patch.
src/Http/Controllers/Metrics/MetricsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Tracking\Http\Controllers\Metrics;
4 4
 
5
-use Illuminate\Http\Request;
6 5
 use Tracking\Http\Controllers\Controller as Controller;
7 6
 use Tracking\Models\Metrics\LarametricsLog;
8 7
 use Tracking\Models\Metrics\LarametricsModel;
Please login to merge, or discard this patch.
src/Http/Controllers/Metrics/ModelController.php 1 patch
Unused Use Statements   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,12 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Tracking\Http\Controllers\Metrics;
4 4
 
5
-use Illuminate\Http\Request;
5
+use Carbon\Carbon;
6
+use DB;
6 7
 use Illuminate\Routing\Controller;
7
-use Tracking\Providers\Metrics\LogParser;
8 8
 use Tracking\Models\Metrics\LarametricsModel;
9
-use DB;
10
-use Carbon\Carbon;
11 9
 
12 10
 class ModelController extends Controller
13 11
 {
Please login to merge, or discard this patch.
src/Jobs/CrunchStatistics.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,15 +5,15 @@
 block discarded – undo
5 5
 namespace Tracking\Jobs;
6 6
 
7 7
 use Exception;
8
-use UAParser\Parser;
9
-use Jenssegers\Agent\Agent;
10 8
 use Illuminate\Bus\Queueable;
11
-use Illuminate\Queue\SerializesModels;
12
-use Illuminate\Queue\InteractsWithQueue;
13 9
 use Illuminate\Contracts\Queue\ShouldQueue;
14 10
 use Illuminate\Foundation\Bus\Dispatchable;
15 11
 use Illuminate\Http\Request as LaravelRequest;
12
+use Illuminate\Queue\InteractsWithQueue;
13
+use Illuminate\Queue\SerializesModels;
14
+use Jenssegers\Agent\Agent;
16 15
 use Symfony\Component\HttpFoundation\Request as SymfonyRequest;
16
+use UAParser\Parser;
17 17
 
18 18
 class CrunchStatistics implements ShouldQueue
19 19
 {
Please login to merge, or discard this patch.
src/Models/Model.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,6 @@
 block discarded – undo
3 3
 namespace Tracking\Models;
4 4
 
5 5
 use Illuminate\Database\Eloquent\Model as EloquentModel;
6
-use Illuminate\Database\Eloquent\Builder;
7
-use Illuminate\Support\Facades\Hash;
8
-use Auth;
9 6
 
10 7
 class Model extends EloquentModel
11 8
 {
Please login to merge, or discard this patch.
src/Notifications/Metrics/LogWritten.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 namespace Siravel\Notifications\Metrics;
4 4
 
5 5
 use Illuminate\Bus\Queueable;
6
-use Illuminate\Notifications\Notification;
7 6
 use Illuminate\Contracts\Queue\ShouldQueue;
8 7
 use Illuminate\Notifications\Messages\MailMessage;
9 8
 use Illuminate\Notifications\Messages\SlackMessage;
9
+use Illuminate\Notifications\Notification;
10 10
 use Tracking\Models\Metrics\LarametricsLog;
11 11
 
12 12
 class LogWritten extends Notification implements ShouldQueue
Please login to merge, or discard this patch.
src/Notifications/Metrics/ModelChanged.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 namespace Siravel\Notifications\Metrics;
4 4
 
5 5
 use Illuminate\Bus\Queueable;
6
-use Illuminate\Notifications\Notification;
7 6
 use Illuminate\Contracts\Queue\ShouldQueue;
8 7
 use Illuminate\Notifications\Messages\MailMessage;
9 8
 use Illuminate\Notifications\Messages\SlackMessage;
9
+use Illuminate\Notifications\Notification;
10 10
 use Tracking\Models\Metrics\LarametricsModel;
11 11
 
12 12
 class ModelChanged extends Notification implements ShouldQueue
Please login to merge, or discard this patch.
src/Notifications/Metrics/RouteRequested.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 namespace Siravel\Notifications\Metrics;
4 4
 
5 5
 use Illuminate\Bus\Queueable;
6
-use Illuminate\Notifications\Notification;
7 6
 use Illuminate\Contracts\Queue\ShouldQueue;
8 7
 use Illuminate\Notifications\Messages\MailMessage;
9 8
 use Illuminate\Notifications\Messages\SlackMessage;
9
+use Illuminate\Notifications\Notification;
10 10
 use Tracking\Models\Metrics\LarametricsRequest;
11 11
 
12 12
 class RouteRequested extends Notification implements ShouldQueue
Please login to merge, or discard this patch.
src/TrackingProvider.php 1 patch
Unused Use Statements   +12 added lines, -13 removed lines patch added patch discarded remove patch
@@ -2,29 +2,28 @@
 block discarded – undo
2 2
 
3 3
 namespace Tracking;
4 4
 
5
+use Illuminate\Support\Collection;
5 6
 use Illuminate\Support\Facades\App;
6 7
 use Illuminate\Support\Facades\View;
7 8
 use Illuminate\Support\ServiceProvider;
8
-use Illuminate\Support\Collection;
9 9
 // use Sitec\Laracogs\LaracogsProvider;
10 10
 use Illuminate\Foundation\AliasLoader;
11
-use Illuminate\Support\Facades\Schema;
12
-use Route;
13 11
 use Illuminate\Routing\Router;
14
-use Tracking\Models\Statistics\Path;
15
-use Tracking\Models\Statistics\Agent;
16
-use Tracking\Models\Statistics\Datum;
17
-use Tracking\Models\Statistics\Geoip;
18
-use Tracking\Models\Statistics\Route as RouteBase;
19
-use Tracking\Models\Statistics\Device;
20
-use Tracking\Models\Statistics\Request;
21
-use Tracking\Models\Statistics\Platform;
22 12
 use Muleta\Traits\Providers\ConsoleTools;
13
+use Route;
23 14
 use Tracking\Console\Commands\MigrateCommand;
24 15
 use Tracking\Console\Commands\PublishCommand;
25
-use Tracking\Http\Middleware\TrackStatistics;
26
-use Tracking\Http\Middleware\Analytics;
27 16
 use Tracking\Console\Commands\RollbackCommand;
17
+use Tracking\Http\Middleware\Analytics;
18
+use Tracking\Http\Middleware\TrackStatistics;
19
+use Tracking\Models\Statistics\Agent;
20
+use Tracking\Models\Statistics\Datum;
21
+use Tracking\Models\Statistics\Device;
22
+use Tracking\Models\Statistics\Geoip;
23
+use Tracking\Models\Statistics\Path;
24
+use Tracking\Models\Statistics\Platform;
25
+use Tracking\Models\Statistics\Request;
26
+use Tracking\Models\Statistics\Route as RouteBase;
28 27
 use Tracking\Services\TrackingService;
29 28
 
30 29
 class TrackingProvider extends ServiceProvider
Please login to merge, or discard this patch.