style: apply php-cs-fixer formatting (PSR-12)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2026-03-09 20:46:59 +01:00
parent dae215dd3d
commit 7506a7a3c1
234 changed files with 447 additions and 370 deletions

View File

@@ -14,7 +14,8 @@ readonly class CheckMonitoredMangasHandler
public function __construct(
private MangaRepositoryInterface $mangaRepository,
private MessageBusInterface $commandBus
) {}
) {
}
public function handle(CheckMonitoredMangas $command): void
{

View File

@@ -20,7 +20,8 @@ readonly class CreateMangaFromMangadexHandler
private MangaRepositoryInterface $mangaRepository,
private ImageProcessorInterface $imageProcessor,
private EventDispatcherInterface $eventDispatcher
) {}
) {
}
public function handle(CreateMangaFromMangadex $command): void
{

View File

@@ -21,7 +21,8 @@ readonly class CreateMangaHandler
private MangaRepositoryInterface $mangaRepository,
private ImageProcessorInterface $imageProcessor,
private MessageBusInterface $messageBus
) {}
) {
}
public function handle(CreateManga $command): void
{

View File

@@ -17,7 +17,8 @@ readonly class DeleteCbzHandler implements CommandHandlerInterface
public function __construct(
private ChapterRepositoryInterface $chapterRepository,
private FileServiceInterface $fileService
) {}
) {
}
public function handle(CommandInterface $command): void
{

View File

@@ -14,7 +14,8 @@ readonly class DeleteChapterHandler implements CommandHandlerInterface
{
public function __construct(
private ChapterRepositoryInterface $chapterRepository
) {}
) {
}
public function handle(CommandInterface $command): void
{

View File

@@ -12,7 +12,8 @@ readonly class DeleteMangaHandler implements CommandHandlerInterface
{
public function __construct(
private MangaRepositoryInterface $mangaRepository
) {}
) {
}
public function handle(CommandInterface $command): void
{

View File

@@ -11,7 +11,8 @@ readonly class EditMangaHandler
{
public function __construct(
private MangaRepositoryInterface $mangaRepository
) {}
) {
}
public function handle(EditManga $command): void
{

View File

@@ -10,7 +10,8 @@ readonly class EditMultipleChaptersHandler
{
public function __construct(
private ChapterRepositoryInterface $chapterRepository
) {}
) {
}
public function handle(EditMultipleChapters $command): void
{

View File

@@ -13,7 +13,8 @@ readonly class FetchMangaChaptersHandler
public function __construct(
private MangaRepositoryInterface $mangaRepository,
private ChapterSynchronizationServiceInterface $chapterSynchronizationService
) {}
) {
}
public function handle(FetchMangaChapters $command): void
{
@@ -23,7 +24,7 @@ readonly class FetchMangaChaptersHandler
throw new MangaNotFoundException();
}
if($manga->getExternalId() === null){
if ($manga->getExternalId() === null) {
throw new MangadexApiException("Manga has no external_id");
}

View File

@@ -18,7 +18,8 @@ readonly class ImportChapterHandler
private MangaRepositoryInterface $mangaRepository,
private ChapterRepositoryInterface $chapterRepository,
private MangaPathManagerInterface $pathManager
) {}
) {
}
public function handle(ImportChapter $command): void
{

View File

@@ -16,7 +16,8 @@ readonly class ImportVolumeHandler
private MangaRepositoryInterface $mangaRepository,
private ChapterRepositoryInterface $chapterRepository,
private MangaPathManagerInterface $pathManager
) {}
) {
}
public function handle(ImportVolume $command): void
{
@@ -93,7 +94,3 @@ readonly class ImportVolumeHandler
return $cbzPath;
}
}

View File

@@ -16,7 +16,8 @@ readonly class RefreshMangaChaptersHandler
private MangaRepositoryInterface $mangaRepository,
private ChapterSynchronizationServiceInterface $chapterSynchronizationService,
private MessageBusInterface $eventBus
) {}
) {
}
public function handle(RefreshMangaChapters $command): void
{

View File

@@ -10,7 +10,8 @@ readonly class ToggleMangaMonitoringHandler
{
public function __construct(
private MangaRepositoryInterface $mangaRepository
) {}
) {
}
public function handle(ToggleMangaMonitoring $command): void
{