From b9a1248c4b53530431b55a8640775e8d0f8dfe0c Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Mon, 25 Dec 2023 19:23:32 +0100 Subject: [PATCH] Move Annotation form types to Core --- src/Wallabag/CoreBundle/Controller/AnnotationController.php | 4 ++-- .../Form => CoreBundle/Form/Type}/EditAnnotationType.php | 2 +- .../Form => CoreBundle/Form/Type}/NewAnnotationType.php | 2 +- .../Form => CoreBundle/Form/Type}/RangeType.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename src/Wallabag/{AnnotationBundle/Form => CoreBundle/Form/Type}/EditAnnotationType.php (89%) rename src/Wallabag/{AnnotationBundle/Form => CoreBundle/Form/Type}/NewAnnotationType.php (95%) rename src/Wallabag/{AnnotationBundle/Form => CoreBundle/Form/Type}/RangeType.php (89%) diff --git a/src/Wallabag/CoreBundle/Controller/AnnotationController.php b/src/Wallabag/CoreBundle/Controller/AnnotationController.php index d19d2d9d4..c73ce26db 100644 --- a/src/Wallabag/CoreBundle/Controller/AnnotationController.php +++ b/src/Wallabag/CoreBundle/Controller/AnnotationController.php @@ -10,10 +10,10 @@ use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; use Symfony\Component\Routing\Annotation\Route; -use Wallabag\AnnotationBundle\Form\EditAnnotationType; -use Wallabag\AnnotationBundle\Form\NewAnnotationType; use Wallabag\CoreBundle\Entity\Annotation; use Wallabag\CoreBundle\Entity\Entry; +use Wallabag\CoreBundle\Form\Type\EditAnnotationType; +use Wallabag\CoreBundle\Form\Type\NewAnnotationType; use Wallabag\CoreBundle\Repository\AnnotationRepository; use Wallabag\UserBundle\Entity\User; diff --git a/src/Wallabag/AnnotationBundle/Form/EditAnnotationType.php b/src/Wallabag/CoreBundle/Form/Type/EditAnnotationType.php similarity index 89% rename from src/Wallabag/AnnotationBundle/Form/EditAnnotationType.php rename to src/Wallabag/CoreBundle/Form/Type/EditAnnotationType.php index 3b587478d..cd6816437 100644 --- a/src/Wallabag/AnnotationBundle/Form/EditAnnotationType.php +++ b/src/Wallabag/CoreBundle/Form/Type/EditAnnotationType.php @@ -1,6 +1,6 @@