['gitea_pr:read']], provider: GiteaPullRequestProvider::class, security: "is_granted('ROLE_USER')", ), ], )] final class GiteaPullRequest { #[Groups(['gitea_pr:read'])] public int $number = 0; #[Groups(['gitea_pr:read'])] public string $title = ''; #[Groups(['gitea_pr:read'])] public string $state = ''; #[Groups(['gitea_pr:read'])] public bool $merged = false; #[Groups(['gitea_pr:read'])] public string $headBranch = ''; #[Groups(['gitea_pr:read'])] public string $author = ''; #[Groups(['gitea_pr:read'])] public string $url = ''; /** * @var array */ #[Groups(['gitea_pr:read'])] public array $ciStatuses = []; }