Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
leepeuker committed Sep 7, 2023
1 parent 5be6e4d commit 7409270
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
use Monolog\Formatter\LineFormatter;
use Monolog\Handler\StreamHandler;
use Monolog\Logger;
use Movary\Api\Github\GithubApi;
use Movary\Api\Jellyfin\JellyfinApi;
use Movary\Api\Plex\PlexApi;
use Movary\Api\Tmdb;
use Movary\Api\Tmdb\TmdbUrlGenerator;
use Movary\Api\Trakt\Cache\User\Movie\Watched;
Expand All @@ -22,27 +19,20 @@
use Movary\Domain\Movie\Watchlist\MovieWatchlistApi;
use Movary\Domain\User;
use Movary\Domain\User\Service\Authentication;
use Movary\Domain\User\Service\TwoFactorAuthenticationApi;
use Movary\Domain\User\UserApi;
use Movary\HttpController\Api\OpenApiController;
use Movary\HttpController\Middleware;
use Movary\HttpController\Web\CreateUserController;
use Movary\HttpController\Web\JobController;
use Movary\HttpController\Web\LandingPageController;
use Movary\HttpController\Web\SettingsController;
use Movary\JobQueue\JobQueueApi;
use Movary\JobQueue\JobQueueScheduler;
use Movary\Service\Dashboard\DashboardFactory;
use Movary\Service\Email\EmailService;
use Movary\Service\Export\ExportService;
use Movary\Service\Export\ExportWriter;
use Movary\Service\ImageCacheService;
use Movary\Service\JobProcessor;
use Movary\Service\Letterboxd\LetterboxdExporter;
use Movary\Service\Letterboxd\Service\LetterboxdCsvValidator;
use Movary\Service\ServerSettings;
use Movary\Service\UrlGenerator;
use Movary\Service\WebhookUrlBuilder;
use Movary\Util\File;
use Movary\Util\SessionWrapper;
use Movary\ValueObject\Config;
Expand All @@ -67,8 +57,6 @@ class Factory

private const DEFAULT_LOG_LEVEL = LogLevel::WARNING;

private const DEFAULT_APPLICATION_VERSION = 'unknown';

private const DEFAULT_TMDB_IMAGE_CACHING = false;

private const DEFAULT_LOG_ENABLE_STACKTRACE = false;
Expand Down Expand Up @@ -393,11 +381,6 @@ private static function createLoggerStreamHandlerStdout(ContainerInterface $cont
return $streamHandler;
}

private static function getApplicationVersion(Config $config) : string
{
return $config->getAsString('APPLICATION_VERSION', self::DEFAULT_APPLICATION_VERSION);
}

private static function getLogLevel(Config $config) : string
{
return $config->getAsString('LOG_LEVEL', self::DEFAULT_LOG_LEVEL);
Expand Down

0 comments on commit 7409270

Please sign in to comment.