Skip to content

Commit cbc115c

Browse files
committed
flatten structure
1 parent 05c4671 commit cbc115c

14 files changed

+21
-21
lines changed

src/Controller/User/ConfirmEmailController.php renamed to src/Controller/ConfirmEmailController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Controller\User;
5+
namespace App\Controller;
66

77
use App\Entity\User;
88
use App\Entity\UserEmail;

src/Controller/User/ConfirmRegistrationController.php renamed to src/Controller/ConfirmRegistrationController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Controller\User;
5+
namespace App\Controller;
66

77
use App\Entity\User;
88
use App\Http\Responder;

src/Controller/User/ForgotPasswordController.php renamed to src/Controller/ForgotPasswordController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Controller\User;
5+
namespace App\Controller;
66

77
use App\Entity\User;
8-
use App\Form\User\ForgotPasswordType;
8+
use App\Form\ForgotPasswordType;
99
use App\Http\Responder;
1010
use App\Http\RespondRouteRedirect;
1111
use App\Http\RespondTemplate;

src/Controller/User/LoginController.php renamed to src/Controller/LoginController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Controller\User;
5+
namespace App\Controller;
66

7-
use App\Form\User\LoginType;
8-
use App\Form\User\OneTimeLoginType;
7+
use App\Form\LoginType;
8+
use App\Form\OneTimeLoginType;
99
use App\Http\Responder;
1010
use App\Http\RespondTemplate;
1111
use Symfony\Component\Form\FormError;

src/Controller/User/ProfileController.php renamed to src/Controller/ProfileController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Controller\User;
5+
namespace App\Controller;
66

77
use App\Entity\User;
88
use App\Entity\UserEmail;
99
use App\EventSubscriber\SendEmailConfirmationUrl;
10-
use App\Form\User\AddEmailType;
11-
use App\Form\User\ChangePasswordType;
10+
use App\Form\AddEmailType;
11+
use App\Form\ChangePasswordType;
1212
use App\Http\Responder;
1313
use App\Http\RespondNotFound;
1414
use App\Http\RespondRouteRedirect;

src/Controller/User/RegisterController.php renamed to src/Controller/RegisterController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Controller\User;
5+
namespace App\Controller;
66

7-
use App\Form\User\RegisterType;
7+
use App\Form\RegisterType;
88
use App\Http\Responder;
99
use App\Http\RespondRouteRedirect;
1010
use App\Http\RespondTemplate;

src/Controller/User/ResetPasswordController.php renamed to src/Controller/ResetPasswordController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Controller\User;
5+
namespace App\Controller;
66

77
use App\Entity\User;
8-
use App\Form\User\ResetPasswordType;
8+
use App\Form\ResetPasswordType;
99
use App\Http\Responder;
1010
use App\Http\RespondRouteRedirect;
1111
use App\Http\RespondTemplate;

src/Form/User/AddEmailType.php renamed to src/Form/AddEmailType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Form\User;
5+
namespace App\Form;
66

77
use MsgPhp\User\Infrastructure\Validator\UniqueUsername as UniqueEmail;
88
use Symfony\Component\Form\AbstractType;

src/Form/User/ChangePasswordType.php renamed to src/Form/ChangePasswordType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Form\User;
5+
namespace App\Form;
66

77
use MsgPhp\User\Infrastructure\Form\Type\HashedPasswordType;
88
use Symfony\Component\Form\AbstractType;

src/Form/User/ForgotPasswordType.php renamed to src/Form/ForgotPasswordType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Form\User;
5+
namespace App\Form;
66

77
use Symfony\Component\Form\AbstractType;
88
use Symfony\Component\Form\Extension\Core\Type\EmailType;

src/Form/User/LoginType.php renamed to src/Form/LoginType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Form\User;
5+
namespace App\Form;
66

77
use Symfony\Component\Form\AbstractType;
88
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;

src/Form/User/OneTimeLoginType.php renamed to src/Form/OneTimeLoginType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Form\User;
5+
namespace App\Form;
66

77
use Symfony\Component\Form\AbstractType;
88
use Symfony\Component\Form\Extension\Core\Type\TextType;

src/Form/User/RegisterType.php renamed to src/Form/RegisterType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Form\User;
5+
namespace App\Form;
66

77
use MsgPhp\User\Infrastructure\Form\Type\HashedPasswordType;
88
use MsgPhp\User\Infrastructure\Validator\UniqueUsername as UniqueEmail;

src/Form/User/ResetPasswordType.php renamed to src/Form/ResetPasswordType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Form\User;
5+
namespace App\Form;
66

77
use MsgPhp\User\Infrastructure\Form\Type\HashedPasswordType;
88
use Symfony\Component\Form\AbstractType;

0 commit comments

Comments
 (0)