From 454def2ced430a0c024c3912fd73440dac6aad95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20HEYD?= Date: Fri, 26 Apr 2024 13:41:50 +0200 Subject: [PATCH] Fix StyleCI --- src/BoilerplateServiceProvider.php | 3 --- src/Console/Dashboard.php | 1 - tests/Components/FormTest.php | 2 +- tests/Components/MenuTest.php | 1 - tests/TestCase.php | 3 +-- 5 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/BoilerplateServiceProvider.php b/src/BoilerplateServiceProvider.php index cd37986a..cd605856 100755 --- a/src/BoilerplateServiceProvider.php +++ b/src/BoilerplateServiceProvider.php @@ -7,10 +7,8 @@ use Illuminate\Foundation\AliasLoader; use Illuminate\Pagination\Paginator; use Illuminate\Routing\Router; -use Illuminate\Support\Facades\Blade; use Illuminate\Support\Facades\View; use Illuminate\Support\ServiceProvider; -use Illuminate\Support\Str; use Laratrust\LaratrustFacade; use Laratrust\LaratrustServiceProvider; use Laratrust\Middleware\LaratrustAbility; @@ -27,7 +25,6 @@ use Sebastienheyd\Boilerplate\View\Composers\DatatablesComposer; use Sebastienheyd\Boilerplate\View\Composers\MenuComposer; use Sebastienheyd\Boilerplate\View\Composers\TinymceLoadComposer; -use Sebastienheyd\Boilerplate\View\ViewFactory; class BoilerplateServiceProvider extends ServiceProvider { diff --git a/src/Console/Dashboard.php b/src/Console/Dashboard.php index d85da51f..291afab1 100644 --- a/src/Console/Dashboard.php +++ b/src/Console/Dashboard.php @@ -3,7 +3,6 @@ namespace Sebastienheyd\Boilerplate\Console; use Illuminate\Contracts\Filesystem\FileNotFoundException; -use Illuminate\Support\Facades\Artisan; class Dashboard extends BoilerplateCommand { diff --git a/tests/Components/FormTest.php b/tests/Components/FormTest.php index 99ec1662..448d62f7 100644 --- a/tests/Components/FormTest.php +++ b/tests/Components/FormTest.php @@ -6,7 +6,7 @@ class FormTest extends TestComponent { public function testFormComponent() { - $expected = <<<'HTML' + $expected = <<<'HTML'
diff --git a/tests/Components/MenuTest.php b/tests/Components/MenuTest.php index 9092f681..01585241 100644 --- a/tests/Components/MenuTest.php +++ b/tests/Components/MenuTest.php @@ -3,7 +3,6 @@ namespace Sebastienheyd\Boilerplate\Tests\Components; use Sebastienheyd\Boilerplate\Tests\factories\UserFactory; -use Sebastienheyd\Boilerplate\Tests\TestCase; class MenuTest extends TestComponent { diff --git a/tests/TestCase.php b/tests/TestCase.php index 245d3ef5..23446495 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -4,7 +4,6 @@ use Arcanedev\LogViewer\LogViewerServiceProvider; use Arcanedev\LogViewer\Providers\DeferredServicesProvider; -use Collective\Html\FormFacade; use Creativeorange\Gravatar\GravatarServiceProvider; use Illuminate\Auth\AuthServiceProvider; use Illuminate\Broadcasting\BroadcastServiceProvider; @@ -219,4 +218,4 @@ protected function getPackageAliases($app): array 'View' => View::class, ]; } -} \ No newline at end of file +}