[UTIL][FormFields] Move FormFields class to Util\Form namespace

This commit is contained in:
Hugo Sales 2021-08-06 11:12:10 +00:00 committed by Diogo Peralta Cordeiro
parent 7308e66981
commit c38bbed7df
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0
3 changed files with 5 additions and 2 deletions

View File

@ -17,7 +17,7 @@ use app\Util\Common;
use App\Util\Exception\EmailTakenException;
use App\Util\Exception\NicknameTakenException;
use App\Util\Exception\ServerException;
use App\Util\FormFields;
use App\Util\Form\FormFields;
use App\Util\Nickname;
use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
use Symfony\Component\Form\Extension\Core\Type\EmailType;

View File

@ -41,6 +41,8 @@ use App\Core\Form;
use function App\Core\I18n\_m;
use App\Util\Common;
use App\Util\Form\ArrayTransformer;
use App\Util\Form\FormFields;
use App\Util\Formatting;
use Doctrine\DBAL\Types\Types;
use Exception;
use Functional as F;

View File

@ -1,8 +1,9 @@
<?php
namespace App\Util;
namespace App\Util\Form;
use function App\Core\I18n\_m;
use App\Util\Common;
use Symfony\Component\Form\Extension\Core\Type\PasswordType;
use Symfony\Component\Form\Extension\Core\Type\RepeatedType;
use Symfony\Component\Validator\Constraints\Length;