From 4935237bf92b9c524c988075e865503cbbf33d6c Mon Sep 17 00:00:00 2001 From: Christian Kolb Date: Fri, 6 Dec 2024 16:27:48 +0100 Subject: [PATCH] Remove date normalizer --- src/Resources/config/services.yaml | 3 -- src/Serializer/DateNormalizer.php | 51 ------------------------------ 2 files changed, 54 deletions(-) delete mode 100644 src/Serializer/DateNormalizer.php diff --git a/src/Resources/config/services.yaml b/src/Resources/config/services.yaml index 10d0004..963b9e1 100644 --- a/src/Resources/config/services.yaml +++ b/src/Resources/config/services.yaml @@ -19,9 +19,6 @@ services: DigitalCraftsman\DateTimePrecision\Serializer\WeekdaysNormalizer: tags: [ { name: 'serializer.normalizer' } ] - DigitalCraftsman\DateTimePrecision\Serializer\DateNormalizer: - tags: [ { name: 'serializer.normalizer' } ] - DigitalCraftsman\DateTimePrecision\Serializer\MonthNormalizer: tags: [ { name: 'serializer.normalizer' } ] diff --git a/src/Serializer/DateNormalizer.php b/src/Serializer/DateNormalizer.php deleted file mode 100644 index f723bae..0000000 --- a/src/Serializer/DateNormalizer.php +++ /dev/null @@ -1,51 +0,0 @@ - - * - * @codeCoverageIgnore - */ - public function getSupportedTypes(?string $format): array - { - return [ - Date::class => true, - ]; - } -}