Rename Command directory to Action to avoid confusion with symfony commands

This commit is contained in:
Julien Fastré 2024-04-17 10:29:08 +02:00
parent 36bc4dab24
commit 7c1f3b114d
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
7 changed files with 16 additions and 16 deletions

View File

@ -9,7 +9,7 @@ declare(strict_types=1);
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\TicketBundle\Command\Ticket;
namespace Chill\TicketBundle\Action\Ticket;
class AssociateByPhonenumberCommand
{

View File

@ -9,7 +9,7 @@ declare(strict_types=1);
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\TicketBundle\Command\Ticket;
namespace Chill\TicketBundle\Action\Ticket;
final readonly class CreateTicketCommand
{

View File

@ -9,10 +9,10 @@ declare(strict_types=1);
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\TicketBundle\Command\Ticket\Handler;
namespace Chill\TicketBundle\Action\Ticket\Handler;
use Chill\PersonBundle\Repository\PersonACLAwareRepositoryInterface;
use Chill\TicketBundle\Command\Ticket\AssociateByPhonenumberCommand;
use Chill\TicketBundle\Action\Ticket\AssociateByPhonenumberCommand;
use Chill\TicketBundle\Entity\PersonHistory;
use Chill\TicketBundle\Entity\Ticket;
use Doctrine\ORM\EntityManagerInterface;

View File

@ -9,9 +9,9 @@ declare(strict_types=1);
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\TicketBundle\Command\Ticket\Handler;
namespace Chill\TicketBundle\Action\Ticket\Handler;
use Chill\TicketBundle\Command\Ticket\CreateTicketCommand;
use Chill\TicketBundle\Action\Ticket\CreateTicketCommand;
use Chill\TicketBundle\Entity\Ticket;
class CreateTicketCommandHandler

View File

@ -11,10 +11,10 @@ declare(strict_types=1);
namespace Chill\TicketBundle\Controller;
use Chill\TicketBundle\Command\Ticket\AssociateByPhonenumberCommand;
use Chill\TicketBundle\Command\Ticket\Handler\AssociateByPhonenumberCommandHandler;
use Chill\TicketBundle\Command\Ticket\CreateTicketCommand;
use Chill\TicketBundle\Command\Ticket\Handler\CreateTicketCommandHandler;
use Chill\TicketBundle\Action\Ticket\AssociateByPhonenumberCommand;
use Chill\TicketBundle\Action\Ticket\Handler\AssociateByPhonenumberCommandHandler;
use Chill\TicketBundle\Action\Ticket\CreateTicketCommand;
use Chill\TicketBundle\Action\Ticket\Handler\CreateTicketCommandHandler;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;

View File

@ -9,12 +9,12 @@ declare(strict_types=1);
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\TicketBundle\Tests\Command\Ticket\Handler;
namespace Chill\TicketBundle\Tests\Action\Ticket\Handler;
use Chill\PersonBundle\Entity\Person;
use Chill\PersonBundle\Repository\PersonACLAwareRepositoryInterface;
use Chill\TicketBundle\Command\Ticket\AssociateByPhonenumberCommand;
use Chill\TicketBundle\Command\Ticket\Handler\AssociateByPhonenumberCommandHandler;
use Chill\TicketBundle\Action\Ticket\AssociateByPhonenumberCommand;
use Chill\TicketBundle\Action\Ticket\Handler\AssociateByPhonenumberCommandHandler;
use Chill\TicketBundle\Entity\Ticket;
use Doctrine\Persistence\ObjectManager;
use libphonenumber\PhoneNumberUtil;

View File

@ -9,10 +9,10 @@ declare(strict_types=1);
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\TicketBundle\Tests\Command\Ticket\Handler;
namespace Chill\TicketBundle\Tests\Action\Ticket\Handler;
use Chill\TicketBundle\Command\Ticket\CreateTicketCommand;
use Chill\TicketBundle\Command\Ticket\Handler\CreateTicketCommandHandler;
use Chill\TicketBundle\Action\Ticket\CreateTicketCommand;
use Chill\TicketBundle\Action\Ticket\Handler\CreateTicketCommandHandler;
use Chill\TicketBundle\Entity\Ticket;
use PHPUnit\Framework\TestCase;