@@ -2,10 +2,10 @@ |
||
| 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 | { |
@@ -2,7 +2,6 @@ |
||
| 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; |
@@ -2,12 +2,10 @@ |
||
| 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 | { |
@@ -5,15 +5,15 @@ |
||
| 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 | { |
@@ -3,9 +3,6 @@ |
||
| 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 | { |
@@ -3,10 +3,10 @@ |
||
| 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 |
@@ -3,10 +3,10 @@ |
||
| 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 |
@@ -3,10 +3,10 @@ |
||
| 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 |
@@ -1,11 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Tracking\Traits; |
| 3 | 3 | |
| 4 | -use Tracking\Abstracts\MetricManager; |
|
| 5 | - |
|
| 6 | -use Stalker\Models\File; |
|
| 7 | -use Stalker\Models\Digital\Internet\ComputerFile; |
|
| 8 | - |
|
| 9 | 4 | /** |
| 10 | 5 | * Outputs events information to the console. |
| 11 | 6 | * |