From 31ca044dc06360f6de917539ee695f726e09f7df Mon Sep 17 00:00:00 2001 From: tim gavin Date: Fri, 21 Oct 2022 18:14:19 -0400 Subject: [PATCH] Apply fixes from StyleCI (#1) --- src/LaravelFollowServiceProvider.php | 4 ++-- tests/FollowTest.php | 1 - tests/TestCase.php | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/LaravelFollowServiceProvider.php b/src/LaravelFollowServiceProvider.php index 4390514..ed73972 100644 --- a/src/LaravelFollowServiceProvider.php +++ b/src/LaravelFollowServiceProvider.php @@ -13,7 +13,7 @@ class LaravelFollowServiceProvider extends ServiceProvider */ public function boot(): void { - $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); + $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); if ($this->app->runningInConsole()) { $this->bootForConsole(); @@ -27,7 +27,7 @@ public function boot(): void */ public function register(): void { - $this->mergeConfigFrom(__DIR__.'/../config/laravel-follow.php', 'laravel-follow'); + $this->mergeConfigFrom(__DIR__ . '/../config/laravel-follow.php', 'laravel-follow'); // Register the service the package provides. $this->app->singleton('laravel-follow', function ($app) { diff --git a/tests/FollowTest.php b/tests/FollowTest.php index a68a690..3625a0c 100644 --- a/tests/FollowTest.php +++ b/tests/FollowTest.php @@ -3,7 +3,6 @@ namespace TimGavin\LaravelFollow\Tests; use Illuminate\Foundation\Testing\RefreshDatabase; -use Illuminate\Support\Facades\Auth; use TimGavin\LaravelFollow\Models\User; class FollowTest extends TestCase diff --git a/tests/TestCase.php b/tests/TestCase.php index ded9eb7..f36a21a 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -20,7 +20,7 @@ protected function getPackageProviders($app) protected function getEnvironmentSetUp($app) { - include_once __DIR__.'/migrations/create_users_table.php'; + include_once __DIR__ . '/migrations/create_users_table.php'; (new \CreateUsersTable)->up(); }