From 329496f344732c5b7d24074e17476bcdac01ad47 Mon Sep 17 00:00:00 2001 From: Georges KABBOUCHI Date: Fri, 15 Nov 2019 10:28:16 +0000 Subject: [PATCH] Apply fixes from StyleCI --- config/nova-logs-tool.php | 2 +- src/Http/Controllers/LogsController.php | 6 +++--- src/LogsTool.php | 2 +- src/LogsToolServiceProvider.php | 4 ++-- tests/TestCase.php | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/nova-logs-tool.php b/config/nova-logs-tool.php index ee6574d..50374af 100644 --- a/config/nova-logs-tool.php +++ b/config/nova-logs-tool.php @@ -2,5 +2,5 @@ return [ 'perPage' => env('NOVA_LOGS_PER_PAGE', 6), - 'regexForFiles' => env('NOVA_LOGS_REGEX_FOR_FILES', '/^laravel/') + 'regexForFiles' => env('NOVA_LOGS_REGEX_FOR_FILES', '/^laravel/'), ]; diff --git a/src/Http/Controllers/LogsController.php b/src/Http/Controllers/LogsController.php index fa0009f..0178ae7 100644 --- a/src/Http/Controllers/LogsController.php +++ b/src/Http/Controllers/LogsController.php @@ -2,11 +2,11 @@ namespace KABBOUCHI\LogsTool\Http\Controllers; -use KABBOUCHI\Ward\Ward; use Illuminate\Http\Request; -use KABBOUCHI\LogsTool\LogsTool; -use Illuminate\Routing\Controller; use Illuminate\Pagination\LengthAwarePaginator; +use Illuminate\Routing\Controller; +use KABBOUCHI\LogsTool\LogsTool; +use KABBOUCHI\Ward\Ward; class LogsController extends Controller { diff --git a/src/LogsTool.php b/src/LogsTool.php index 3c33b2f..ea57d62 100644 --- a/src/LogsTool.php +++ b/src/LogsTool.php @@ -2,8 +2,8 @@ namespace KABBOUCHI\LogsTool; -use Laravel\Nova\Nova; use Illuminate\Http\Request; +use Laravel\Nova\Nova; use Laravel\Nova\Tool as BaseTool; class LogsTool extends BaseTool diff --git a/src/LogsToolServiceProvider.php b/src/LogsToolServiceProvider.php index 3d50983..7ba52f9 100644 --- a/src/LogsToolServiceProvider.php +++ b/src/LogsToolServiceProvider.php @@ -2,11 +2,11 @@ namespace KABBOUCHI\LogsTool; -use Laravel\Nova\Nova; -use Laravel\Nova\Events\ServingNova; use Illuminate\Support\Facades\Route; use Illuminate\Support\ServiceProvider; use KABBOUCHI\LogsTool\Http\Middleware\Authorize; +use Laravel\Nova\Events\ServingNova; +use Laravel\Nova\Nova; class LogsToolServiceProvider extends ServiceProvider { diff --git a/tests/TestCase.php b/tests/TestCase.php index 3959a01..6ea74d4 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -3,8 +3,8 @@ namespace KABBOUCHI\LogsTool\Tests; use Illuminate\Support\Facades\Route; -use Orchestra\Testbench\TestCase as Orchestra; use KABBOUCHI\LogsTool\LogsToolServiceProvider; +use Orchestra\Testbench\TestCase as Orchestra; abstract class TestCase extends Orchestra {