Applied rector rules up to symfony 6.2

This commit is contained in:
Jan Böhmer 2023-05-28 01:21:05 +02:00
parent 88ea920dfb
commit a43af180a7
145 changed files with 563 additions and 889 deletions

View file

@ -52,8 +52,8 @@ use Symfony\Component\Validator\Constraints as Assert;
* @ORM\Entity(repositoryClass="App\Repository\LabelProfileRepository")
* @ORM\Table(name="label_profiles")
* @ORM\EntityListeners({"App\EntityListeners\TreeCacheInvalidationListener"})
* @UniqueEntity({"name", "options.supported_element"})
*/
#[UniqueEntity(['name', 'options.supported_element'])]
class LabelProfile extends AttachmentContainingDBElement
{
/**
@ -66,8 +66,8 @@ class LabelProfile extends AttachmentContainingDBElement
/**
* @var LabelOptions
* @ORM\Embedded(class="LabelOptions")
* @Assert\Valid()
*/
#[Assert\Valid]
protected LabelOptions $options;
/**