refactor: remove unused dependencies and legacy code from ShowHome controller

This commit is contained in:
2025-11-03 14:42:04 +01:00
parent ef4a941c8b
commit b6bff8b19b

View File

@@ -4,35 +4,13 @@ declare(strict_types=1);
namespace App\Application\Website;
use App\Application\Service\QrCodeService;
use App\Domain\AI\AiModel;
use App\Domain\Media\ImageRepository;
use App\Domain\Media\ImageSlot;
use App\Framework\Attributes\Route;
use App\Framework\Cache\Cache;
use App\Framework\Core\PathProvider;
use App\Framework\Database\ConnectionInterface;
use App\Framework\Database\EntityManager;
use App\Framework\DateTime\Clock;
use App\Framework\DateTime\DateTimeFormatter;
use App\Framework\DI\DefaultContainer;
use App\Framework\Http\Method;
use App\Framework\Http\Request;
use App\Framework\Http\Session\SessionInterface;
use App\Framework\HttpClient\CurlHttpClient;
use App\Framework\Markdown\MarkdownConverter;
use App\Framework\Meta\MetaData;
use App\Framework\Meta\StaticPageMetaResolver;
use App\Framework\QueryBus\QueryBus;
use App\Framework\Router\Result\ViewResult;
use App\Framework\Router\UrlGenerator;
use App\Framework\Router\WebRoutes;
use App\Framework\SyntaxHighlighter\FileHighlighter;
use App\Framework\SyntaxHighlighter\SyntaxHighlighter;
use App\Infrastructure\AI\AiHandlerFactory;
use App\Infrastructure\AI\AiService;
use App\Infrastructure\GeoIp\DatabaseSetup;
use App\Infrastructure\GeoIp\GeoIp;
final readonly class ShowHome
{