From a35deea4c2c54b125a1b7b9ecb8c05ed18ba50ba Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Sun, 22 Dec 2024 13:24:48 +0000 Subject: [PATCH] Apply fixes from StyleCI --- packages/framework/src/Foundation/Concerns/HasMediaFiles.php | 2 -- packages/framework/src/Support/DataCollection.php | 2 -- packages/framework/tests/Unit/DataCollectionUnitTest.php | 1 - 3 files changed, 5 deletions(-) diff --git a/packages/framework/src/Foundation/Concerns/HasMediaFiles.php b/packages/framework/src/Foundation/Concerns/HasMediaFiles.php index 54cd92c417d..ce1d7a1ab31 100644 --- a/packages/framework/src/Foundation/Concerns/HasMediaFiles.php +++ b/packages/framework/src/Foundation/Concerns/HasMediaFiles.php @@ -10,9 +10,7 @@ use Hyde\Support\Filesystem\MediaFile; use Illuminate\Support\Collection; -use function implode; use function collect; -use function sprintf; /** * @internal Single-use trait for the Filesystem class. diff --git a/packages/framework/src/Support/DataCollection.php b/packages/framework/src/Support/DataCollection.php index bdf600aa371..bc6f38bd67b 100644 --- a/packages/framework/src/Support/DataCollection.php +++ b/packages/framework/src/Support/DataCollection.php @@ -16,8 +16,6 @@ use function blank; use function Hyde\path_join; -use function implode; -use function sprintf; use function Hyde\unslash; use function json_decode; use function json_last_error_msg; diff --git a/packages/framework/tests/Unit/DataCollectionUnitTest.php b/packages/framework/tests/Unit/DataCollectionUnitTest.php index 77d50007a34..8ebff95cd7d 100644 --- a/packages/framework/tests/Unit/DataCollectionUnitTest.php +++ b/packages/framework/tests/Unit/DataCollectionUnitTest.php @@ -9,7 +9,6 @@ use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Collection; use Mockery; -use Hyde\Hyde; use Illuminate\Support\Str; use Hyde\Support\DataCollection; use Hyde\Markdown\Models\FrontMatter;