diff --git a/composer.json b/composer.json index 9853d75..d65497b 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,6 @@ "symfony/event-dispatcher": "^5.4|^6.0", "symfony/mailer": "^5.4|^6.0", "symfony/mime": "^5.4|^6.0", - "symfony/serializer": "^6.0", "symfony/translation": "^5.4|^6.0", "symfony/twig-bundle": "^5.4|^6.0", "twig/twig": "^3.0" diff --git a/composer.lock b/composer.lock index a7ab01c..682a69e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "21992ae73da8560cd951e2a0d015b8b1", + "content-hash": "25543584dc2363a9b9f683aed84a49c7", "packages": [ { "name": "doctrine/annotations", @@ -3828,107 +3828,6 @@ ], "time": "2022-01-31T19:46:53+00:00" }, - { - "name": "symfony/serializer", - "version": "v6.0.19", - "source": { - "type": "git", - "url": "https://github.com/symfony/serializer.git", - "reference": "6aff9e2894ff0dcfa7aca38f9d0396ed65627d07" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/6aff9e2894ff0dcfa7aca38f9d0396ed65627d07", - "reference": "6aff9e2894ff0dcfa7aca38f9d0396ed65627d07", - "shasum": "" - }, - "require": { - "php": ">=8.0.2", - "symfony/polyfill-ctype": "~1.8" - }, - "conflict": { - "doctrine/annotations": "<1.12", - "phpdocumentor/reflection-docblock": "<3.2.2", - "phpdocumentor/type-resolver": "<1.4.0|>=1.7.0", - "symfony/dependency-injection": "<5.4", - "symfony/property-access": "<5.4", - "symfony/property-info": "<5.4", - "symfony/uid": "<5.4", - "symfony/yaml": "<5.4" - }, - "require-dev": { - "doctrine/annotations": "^1.12|^2", - "phpdocumentor/reflection-docblock": "^3.2|^4.0|^5.0", - "symfony/cache": "^5.4|^6.0", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/error-handler": "^5.4|^6.0", - "symfony/filesystem": "^5.4|^6.0", - "symfony/form": "^5.4|^6.0", - "symfony/http-foundation": "^5.4|^6.0", - "symfony/http-kernel": "^5.4|^6.0", - "symfony/mime": "^5.4|^6.0", - "symfony/property-access": "^5.4|^6.0", - "symfony/property-info": "^5.4|^6.0", - "symfony/uid": "^5.4|^6.0", - "symfony/validator": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0", - "symfony/var-exporter": "^5.4|^6.0", - "symfony/yaml": "^5.4|^6.0" - }, - "suggest": { - "psr/cache-implementation": "For using the metadata cache.", - "symfony/config": "For using the XML mapping loader.", - "symfony/mime": "For using a MIME type guesser within the DataUriNormalizer.", - "symfony/property-access": "For using the ObjectNormalizer.", - "symfony/property-info": "To deserialize relations.", - "symfony/var-exporter": "For using the metadata compiler.", - "symfony/yaml": "For using the default YAML mapping loader." - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Serializer\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/serializer/tree/v6.0.19" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-01-15T17:21:41+00:00" - }, { "name": "symfony/service-contracts", "version": "v2.4.1", diff --git a/src/Domain/Entity/EmailFooter.php b/src/Domain/Entity/EmailFooter.php index a6769cb..0142b3c 100644 --- a/src/Domain/Entity/EmailFooter.php +++ b/src/Domain/Entity/EmailFooter.php @@ -6,7 +6,6 @@ use Doctrine\ORM\Mapping as ORM; use RichId\MailerBundle\Infrastructure\Repository\EmailFooterRepository; -use Symfony\Component\Serializer\Annotation\Groups; #[ORM\Entity(repositoryClass: EmailFooterRepository::class)] #[ORM\Table(name: 'module_email_footer')] @@ -15,22 +14,18 @@ class EmailFooter #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(name: 'id', type: 'integer')] - #[Groups('email_footer_id')] private int $id; #[ORM\Column(name: 'slug', type: 'string', length: 255, unique: true)] - #[Groups('email_footer_slug')] private string $slug; #[ORM\Column(name: 'name', type: 'string', length: 255, unique: true)] - #[Groups('email_footer_name')] private string $name; #[ORM\Column(name: 'position', type: 'integer', unique: true)] private int $position = 0; #[ORM\Column(name: 'default_value', type: 'string', length: 600)] - #[Groups('email_footer_default_value')] private string $defaultValue; #[ORM\Column(name: 'value', type: 'string', length: 600, nullable: true)] @@ -40,7 +35,6 @@ class EmailFooter private \DateTime $dateUpdate; #[ORM\Column(name: 'description', type: 'string', nullable: true)] - #[Groups('email_footer_description')] private ?string $description; public function getId(): int