Move User form types to Core

This commit is contained in:
Yassine Guedidi 2023-12-30 23:41:01 +01:00
parent bdeaa93dd8
commit 87ed669504
5 changed files with 7 additions and 7 deletions

View file

@ -17,7 +17,7 @@ use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\Routing\Annotation\Route;
use Wallabag\ApiBundle\Entity\Client; use Wallabag\ApiBundle\Entity\Client;
use Wallabag\CoreBundle\Entity\User; use Wallabag\CoreBundle\Entity\User;
use Wallabag\UserBundle\Form\NewUserType; use Wallabag\CoreBundle\Form\Type\NewUserType;
class UserRestController extends WallabagRestController class UserRestController extends WallabagRestController
{ {

View file

@ -18,10 +18,10 @@ use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\Routing\Annotation\Route;
use Symfony\Contracts\Translation\TranslatorInterface; use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Entity\User; use Wallabag\CoreBundle\Entity\User;
use Wallabag\CoreBundle\Form\Type\NewUserType;
use Wallabag\CoreBundle\Form\Type\SearchUserType;
use Wallabag\CoreBundle\Form\Type\UserType;
use Wallabag\CoreBundle\Repository\UserRepository; use Wallabag\CoreBundle\Repository\UserRepository;
use Wallabag\UserBundle\Form\NewUserType;
use Wallabag\UserBundle\Form\SearchUserType;
use Wallabag\UserBundle\Form\UserType;
/** /**
* User controller. * User controller.

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wallabag\UserBundle\Form; namespace Wallabag\CoreBundle\Form\Type;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\EmailType; use Symfony\Component\Form\Extension\Core\Type\EmailType;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wallabag\UserBundle\Form; namespace Wallabag\CoreBundle\Form\Type;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\Extension\Core\Type\TextType;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wallabag\UserBundle\Form; namespace Wallabag\CoreBundle\Form\Type;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\CheckboxType; use Symfony\Component\Form\Extension\Core\Type\CheckboxType;