From f475fa2a479420392dd49d8f0554d7ea182629e4 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Fri, 3 Mar 2023 00:18:00 +0100 Subject: [PATCH] Lint --- classes/Config.php | 1 - classes/ErrorHandler.php | 1 - classes/Exception/ConfigException.php | 1 - classes/Exception/DependencyException.php | 1 - classes/Factory/ConfigFactory.php | 1 - classes/Factory/DebugBarFactory.php | 1 - classes/Factory/LocaleManagerFactory.php | 1 - classes/Factory/LoggerFactory.php | 1 - classes/Factory/SessionFactory.php | 1 - classes/Factory/ViewFactory.php | 1 - classes/LocaleManager.php | 1 - classes/Middleware/CspMiddleware.php | 1 - classes/Middleware/LinkHeaderMiddleware.php | 1 - classes/Robo/Plugin/Commands/ReleaseCommand.php | 1 - tests/ConfigTest.php | 1 - tests/ConvertedPlaylistArchiveStreamTest.php | 1 - 16 files changed, 16 deletions(-) diff --git a/classes/Config.php b/classes/Config.php index 542200e..919e1b4 100644 --- a/classes/Config.php +++ b/classes/Config.php @@ -19,7 +19,6 @@ use Jawira\CaseConverter\Convert; */ class Config { - /** * youtube-dl binary path. * diff --git a/classes/ErrorHandler.php b/classes/ErrorHandler.php index c48b354..5900af1 100644 --- a/classes/ErrorHandler.php +++ b/classes/ErrorHandler.php @@ -12,7 +12,6 @@ use Throwable; */ class ErrorHandler { - /** * Last resort if the error has not been caught by the Slim error handler for some reason. * @param Throwable $e diff --git a/classes/Exception/ConfigException.php b/classes/Exception/ConfigException.php index 98c1207..89e9c8b 100644 --- a/classes/Exception/ConfigException.php +++ b/classes/Exception/ConfigException.php @@ -10,5 +10,4 @@ use Exception; */ class ConfigException extends Exception { - } diff --git a/classes/Exception/DependencyException.php b/classes/Exception/DependencyException.php index e5f04e1..0493a2b 100644 --- a/classes/Exception/DependencyException.php +++ b/classes/Exception/DependencyException.php @@ -10,5 +10,4 @@ use Exception; */ class DependencyException extends Exception { - } diff --git a/classes/Factory/ConfigFactory.php b/classes/Factory/ConfigFactory.php index beab456..6b21ad4 100644 --- a/classes/Factory/ConfigFactory.php +++ b/classes/Factory/ConfigFactory.php @@ -14,7 +14,6 @@ use Symfony\Component\ErrorHandler\Debug; */ class ConfigFactory { - /** * @param Container $container * @return Config diff --git a/classes/Factory/DebugBarFactory.php b/classes/Factory/DebugBarFactory.php index 13070e5..aada152 100644 --- a/classes/Factory/DebugBarFactory.php +++ b/classes/Factory/DebugBarFactory.php @@ -18,7 +18,6 @@ use Slim\Container; */ class DebugBarFactory { - /** * @param Container $container * @return DebugBar diff --git a/classes/Factory/LocaleManagerFactory.php b/classes/Factory/LocaleManagerFactory.php index 4ed84ff..6f5f2aa 100644 --- a/classes/Factory/LocaleManagerFactory.php +++ b/classes/Factory/LocaleManagerFactory.php @@ -13,7 +13,6 @@ use Slim\Container; */ class LocaleManagerFactory { - /** * @param Container $container * @return LocaleManager diff --git a/classes/Factory/LoggerFactory.php b/classes/Factory/LoggerFactory.php index b80774d..665ce96 100644 --- a/classes/Factory/LoggerFactory.php +++ b/classes/Factory/LoggerFactory.php @@ -15,7 +15,6 @@ use Symfony\Component\Console\Output\OutputInterface; */ class LoggerFactory { - /** * @param Container $container * @return LoggerManager diff --git a/classes/Factory/SessionFactory.php b/classes/Factory/SessionFactory.php index 57dab05..08981e1 100644 --- a/classes/Factory/SessionFactory.php +++ b/classes/Factory/SessionFactory.php @@ -15,7 +15,6 @@ use Slim\Container; */ class SessionFactory { - /** * Get the current session. * diff --git a/classes/Factory/ViewFactory.php b/classes/Factory/ViewFactory.php index 0c34bac..1c5a86f 100644 --- a/classes/Factory/ViewFactory.php +++ b/classes/Factory/ViewFactory.php @@ -20,7 +20,6 @@ use SmartyException; */ class ViewFactory { - /** * @param Uri $uri * @return Uri diff --git a/classes/LocaleManager.php b/classes/LocaleManager.php index 44b33ad..0b4c9a2 100644 --- a/classes/LocaleManager.php +++ b/classes/LocaleManager.php @@ -17,7 +17,6 @@ use Symfony\Component\Translation\Loader\PoFileLoader; */ class LocaleManager { - /** * Path to locales. */ diff --git a/classes/Middleware/CspMiddleware.php b/classes/Middleware/CspMiddleware.php index 88ecccf..3fa21cd 100644 --- a/classes/Middleware/CspMiddleware.php +++ b/classes/Middleware/CspMiddleware.php @@ -15,7 +15,6 @@ use Slim\Http\Response; */ class CspMiddleware { - /** * @var Config */ diff --git a/classes/Middleware/LinkHeaderMiddleware.php b/classes/Middleware/LinkHeaderMiddleware.php index e93f71b..88af619 100644 --- a/classes/Middleware/LinkHeaderMiddleware.php +++ b/classes/Middleware/LinkHeaderMiddleware.php @@ -12,7 +12,6 @@ use Slim\Http\Response; */ class LinkHeaderMiddleware { - /** * @param Request $request * @param Response $response diff --git a/classes/Robo/Plugin/Commands/ReleaseCommand.php b/classes/Robo/Plugin/Commands/ReleaseCommand.php index 52f2b6d..c355718 100644 --- a/classes/Robo/Plugin/Commands/ReleaseCommand.php +++ b/classes/Robo/Plugin/Commands/ReleaseCommand.php @@ -14,7 +14,6 @@ use Robo\Tasks; */ class ReleaseCommand extends Tasks { - /** * Create release archive * @return void diff --git a/tests/ConfigTest.php b/tests/ConfigTest.php index 17c1725..e9af966 100644 --- a/tests/ConfigTest.php +++ b/tests/ConfigTest.php @@ -14,7 +14,6 @@ use Alltube\Exception\ConfigException; */ class ConfigTest extends BaseTest { - /** * Test the getInstance function. * diff --git a/tests/ConvertedPlaylistArchiveStreamTest.php b/tests/ConvertedPlaylistArchiveStreamTest.php index 0e42d49..99b02ca 100644 --- a/tests/ConvertedPlaylistArchiveStreamTest.php +++ b/tests/ConvertedPlaylistArchiveStreamTest.php @@ -17,7 +17,6 @@ use SmartyException; */ class ConvertedPlaylistArchiveStreamTest extends StreamTest { - /** * Prepare tests. *