Fixed deprecations

This commit is contained in:
Jan Böhmer 2025-09-23 20:55:22 +02:00
parent a9d0caad5f
commit 63a33d1057
4 changed files with 37 additions and 35 deletions

View file

@ -81,7 +81,7 @@ abstract class AbstractCompany extends AbstractPartsContainingDBElement
/**
* @var string The website of the company
*/
#[Assert\Url]
#[Assert\Url(requireTld: false)]
#[Groups(['full', 'company:read', 'company:write', 'import', 'extended'])]
#[ORM\Column(type: Types::STRING)]
#[Assert\Length(max: 255)]