Skip to content

A self-hosted media server and file management system

chore: lint coding style (pint)

aminnausinab74dbd386b0
diff --git a/app/Http/Controllers/Api/V1/MetadataController.php b/app/Http/Controllers/Api/V1/MetadataController.php
index 987e8e32..bf533782 100644
--- a/app/Http/Controllers/Api/V1/MetadataController.php
+++ b/app/Http/Controllers/Api/V1/MetadataController.php
@@ -109,5 +109,4 @@ class MetadataController extends Controller {
}
}
-class MediaDoesNotExistException extends \Exception {
-}
+class MediaDoesNotExistException extends \Exception {}
diff --git a/app/Services/Image/Downloader.php b/app/Services/Image/Downloader.php
index 6bfafae3..2ede31fe 100644
--- a/app/Services/Image/Downloader.php
+++ b/app/Services/Image/Downloader.php
@@ -8,8 +8,7 @@ use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Storage;
class Downloader {
- public function __construct() {
- }
+ public function __construct() {}
// TODO: Eventually use this service with DI in verifyFiles and verifyFolders to download thumbnail urls ... currently using static function in verifyFolders
public function importExternalImageAsURL($url, $compositePath) {
diff --git a/database/factories/MetadataFactory.php b/database/factories/MetadataFactory.php
index 8ca8b79f..cdb96f2a 100644
--- a/database/factories/MetadataFactory.php
+++ b/database/factories/MetadataFactory.php
@@ -2,7 +2,6 @@
namespace Database\Factories;
-use App\Models\Video;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
diff --git a/tests/TestCase.php b/tests/TestCase.php
index 9fb068b3..42aaa9de 100755
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -15,5 +15,4 @@ abstract class TestCase extends BaseTestCase {
}
}
-class InvalidTestEnvironmentException extends \Exception {
-}
+class InvalidTestEnvironmentException extends \Exception {}