mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-22 18:27:31 +00:00
Order properties alphabetically
This commit is contained in:
parent
52b370fbf3
commit
7537a3ced2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue