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

@@ -58,4 +58,4 @@ class CreateMangaDirectlyResource
#[Assert\Type(type: 'float', message: 'La note doit être un nombre décimal')]
#[Assert\Range(min: 0, max: 5, notInRangeMessage: 'La note doit être comprise entre {{ min }} et {{ max }}')]
public ?float $rating = null;
}
}

View File

@@ -45,5 +45,6 @@ class DeleteCbzResource
{
public function __construct(
public string $id
) {}
) {
}
}

View File

@@ -45,5 +45,6 @@ class DeleteChapterResource
{
public function __construct(
public string $id
) {}
) {
}
}

View File

@@ -45,5 +45,6 @@ class DeleteMangaResource
{
public function __construct(
public string $id
) {}
) {
}
}

View File

@@ -21,5 +21,6 @@ class DownloadCbzResource
{
public function __construct(
public string $id
) {}
) {
}
}

View File

@@ -22,5 +22,6 @@ class DownloadVolumeResource
public function __construct(
public string $id,
public int $volume
) {}
) {
}
}

View File

@@ -28,7 +28,8 @@ class EditMultipleChaptersResource
#[Assert\NotBlank(message: 'La liste des chapitres est obligatoire')]
#[Assert\Count(min: 1, minMessage: 'Vous devez spécifier au moins un chapitre')]
public readonly array $chapters
) {}
) {
}
}
readonly class ChapterEditData
@@ -37,5 +38,6 @@ readonly class ChapterEditData
public string $id,
public ?string $title = null,
public ?int $volume = null
) {}
) {
}
}

View File

@@ -56,5 +56,6 @@ class FetchMangaChaptersResource
#[Assert\NotBlank(message: 'L\'identifiant du manga est obligatoire')]
// #[Assert\Uuid(message: 'L\'identifiant du manga doit être un UUID valide')]
public string $mangaId
) {}
) {
}
}

View File

@@ -108,4 +108,3 @@ class FindMangaMatchByFilenameResource
) {
}
}

View File

@@ -22,5 +22,6 @@ class GetMangaBySlugResource
{
public function __construct(
public string $slug
) {}
}
) {
}
}

View File

@@ -72,7 +72,3 @@ class ImportChapterResource
public ?File $file = null;
}

View File

@@ -72,7 +72,3 @@ class ImportVolumeResource
public ?File $file = null;
}

View File

@@ -63,4 +63,4 @@ use App\Domain\Manga\Infrastructure\ApiPlatform\State\Provider\GetMangaChaptersS
)]
class MangaChaptersResource
{
}
}

View File

@@ -20,4 +20,4 @@ use App\Domain\Manga\Infrastructure\ApiPlatform\State\Provider\GetMangaListState
)]
class MangaListResource
{
}
}

View File

@@ -32,4 +32,4 @@ use App\Domain\Manga\Infrastructure\ApiPlatform\State\Provider\GetMangaStateProv
)]
class MangaResource
{
}
}