Order properties alphabetically

This commit is contained in:
Oliver Davies 2024-08-12 20:52:12 +01:00
parent 52b370fbf3
commit 7537a3ced2

View file

@ -139,15 +139,6 @@ final class ConfigDto
)]
public array $experimental;
#[Assert\Collection([
'ignore' => new Assert\Optional([
new Assert\All([
new Assert\Type('string'),
]),
]),
])]
public array $git;
#[Assert\Collection(
allowExtraFields: false,
fields: [
@ -166,6 +157,19 @@ final class ConfigDto
)]
public array $flake;
#[Assert\Collection([
'ignore' => new Assert\Optional([
new Assert\All([
new Assert\Type('string'),
]),
]),
])]
public array $git;
public bool $isDocker;
public bool $isFlake;
#[Assert\Choice(choices: ['javascript', 'php', 'typescript'])]
public string $language;
@ -259,8 +263,4 @@ final class ConfigDto
]),
])]
public array $web;
public bool $isDocker;
public bool $isFlake;
}