From ff07be44bb6c8994d763c8892376681a6335d595 Mon Sep 17 00:00:00 2001 From: xdevor <0.yu.zhuang@gmail.com> Date: Sun, 12 Nov 2023 16:17:59 +0800 Subject: [PATCH] Refactor style --- src/Illuminate/Cache/DatabaseStore.php | 1 - .../Foundation/Testing/Concerns/InteractsWithCacheTable.php | 4 ++-- tests/Cache/CacheDatabaseStoreTest.php | 1 - tests/Integration/Database/DatabaseCacheStoreTest.php | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Illuminate/Cache/DatabaseStore.php b/src/Illuminate/Cache/DatabaseStore.php index 95c9293470e4..457529fad8d2 100755 --- a/src/Illuminate/Cache/DatabaseStore.php +++ b/src/Illuminate/Cache/DatabaseStore.php @@ -3,7 +3,6 @@ namespace Illuminate\Cache; use Closure; -use Exception; use Illuminate\Contracts\Cache\LockProvider; use Illuminate\Contracts\Cache\Store; use Illuminate\Database\ConnectionInterface; diff --git a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithCacheTable.php b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithCacheTable.php index 17056f18ae32..bf9cbfad6c1b 100644 --- a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithCacheTable.php +++ b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithCacheTable.php @@ -8,7 +8,7 @@ trait InteractsWithCacheTable { /** - * Create all cache related table tables + * Create all cache related table tables. */ protected function createCacheTables() { @@ -26,7 +26,7 @@ protected function createCacheTables() } /** - * Drop all cache related table tables + * Drop all cache related table tables. */ protected function dropCacheTables() { diff --git a/tests/Cache/CacheDatabaseStoreTest.php b/tests/Cache/CacheDatabaseStoreTest.php index 8ae1bfa0a537..48f838d4c6e6 100755 --- a/tests/Cache/CacheDatabaseStoreTest.php +++ b/tests/Cache/CacheDatabaseStoreTest.php @@ -3,7 +3,6 @@ namespace Illuminate\Tests\Cache; use Closure; -use Exception; use Illuminate\Cache\DatabaseStore; use Illuminate\Database\Connection; use Illuminate\Database\PostgresConnection; diff --git a/tests/Integration/Database/DatabaseCacheStoreTest.php b/tests/Integration/Database/DatabaseCacheStoreTest.php index 3487b20bbd81..6af08a7e3b0b 100644 --- a/tests/Integration/Database/DatabaseCacheStoreTest.php +++ b/tests/Integration/Database/DatabaseCacheStoreTest.php @@ -5,7 +5,6 @@ use Illuminate\Foundation\Testing\Concerns\InteractsWithCacheTable; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\DB; -use Illuminate\Tests\Integration\Database\DatabaseTestCase; class DatabaseCacheStoreTest extends DatabaseTestCase {