Skip to content

Commit

Permalink
update esabora namespace #1810
Browse files Browse the repository at this point in the history
  • Loading branch information
sfinx13 committed Nov 24, 2023
1 parent 73514fd commit 6d1e2e7
Show file tree
Hide file tree
Showing 17 changed files with 24 additions and 22 deletions.
4 changes: 2 additions & 2 deletions config/packages/messenger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ framework:
routing:
# Route your messages to the transports
# Symfony\Component\Mailer\Messenger\SendEmailMessage: sync
App\Messenger\Message\DossierMessageSCHS: async
App\Messenger\Message\DossierMessageSISH: async
App\Messenger\Message\Esabora\DossierMessageSCHS: async
App\Messenger\Message\Esabora\DossierMessageSISH: async
App\Messenger\Message\PdfExportMessage: async


Expand Down
2 changes: 1 addition & 1 deletion src/Factory/Esabora/DossierMessageSCHSFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use App\Entity\Affectation;
use App\Entity\Enum\PartnerType;
use App\Entity\Signalement;
use App\Messenger\Message\DossierMessageSCHS;
use App\Messenger\Message\Esabora\DossierMessageSCHS;
use App\Service\UploadHandlerService;
use App\Utils\AddressParser;
use App\Utils\EtageParser;
Expand Down
2 changes: 1 addition & 1 deletion src/Factory/Esabora/DossierMessageSISHFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use App\Entity\Enum\PartnerType;
use App\Entity\Signalement;
use App\Entity\Suivi;
use App\Messenger\Message\DossierMessageSISH;
use App\Messenger\Message\Esabora\DossierMessageSISH;
use App\Repository\SuiviRepository;
use App\Service\DataGouv\AddressService;
use App\Service\Esabora\AbstractEsaboraService;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php

namespace App\Messenger\Message;
namespace App\Messenger\Message\Esabora;

use App\Entity\File;
use App\Messenger\Message\DossierMessageInterface;

final class DossierMessageSCHS implements DossierMessageInterface
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?php

namespace App\Messenger\Message;
namespace App\Messenger\Message\Esabora;

use App\Entity\Enum\SISHDossierType;
use App\Entity\File;
use App\Messenger\Message\DossierMessageInterface;
use App\Service\Esabora\Enum\PersonneType;
use App\Service\Esabora\Model\DossierMessageSISHPersonne;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace App\Messenger\MessageHandler;
namespace App\Messenger\MessageHandler\Esabora;

use App\Entity\JobEvent;
use App\Manager\JobEventManager;
use App\Messenger\Message\DossierMessageSCHS;
use App\Messenger\Message\Esabora\DossierMessageSCHS;
use App\Repository\PartnerRepository;
use App\Service\Esabora\AbstractEsaboraService;
use App\Service\Esabora\EsaboraSCHSService;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace App\Messenger\MessageHandler;
namespace App\Messenger\MessageHandler\Esabora;

use App\Messenger\Message\DossierMessageSISH;
use App\Messenger\Message\Esabora\DossierMessageSISH;
use App\Service\Esabora\Handler\DossierSISHHandlerInterface;
use Symfony\Component\DependencyInjection\Attribute\TaggedIterator;
use Symfony\Component\Messenger\Attribute\AsMessageHandler;
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Esabora/EsaboraSCHSService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace App\Service\Esabora;

use App\Entity\Affectation;
use App\Messenger\Message\DossierMessageSCHS;
use App\Messenger\Message\Esabora\DossierMessageSCHS;
use App\Service\Esabora\Response\DossierStateSCHSResponse;
use App\Service\UploadHandlerService;
use Psr\Log\LoggerInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Esabora/EsaboraSISHService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace App\Service\Esabora;

use App\Entity\Affectation;
use App\Messenger\Message\DossierMessageSISH;
use App\Messenger\Message\Esabora\DossierMessageSISH;
use App\Service\Esabora\Model\DossierMessageSISHPersonne;
use App\Service\Esabora\Response\DossierArreteSISHCollectionResponse;
use App\Service\Esabora\Response\DossierPushSISHResponse;
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Esabora/Handler/AbstractDossierSISHHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use App\Entity\JobEvent;
use App\Entity\Partner;
use App\Manager\JobEventManager;
use App\Messenger\Message\DossierMessageSISH;
use App\Messenger\Message\Esabora\DossierMessageSISH;
use App\Repository\PartnerRepository;
use App\Service\Esabora\AbstractEsaboraService;
use Symfony\Component\Serializer\SerializerInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace App\Service\Esabora\Handler;

use App\Manager\JobEventManager;
use App\Messenger\Message\DossierMessageSISH;
use App\Messenger\Message\Esabora\DossierMessageSISH;
use App\Repository\PartnerRepository;
use App\Service\Esabora\AbstractEsaboraService;
use App\Service\Esabora\EsaboraSISHService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace App\Service\Esabora\Handler;

use App\Manager\JobEventManager;
use App\Messenger\Message\DossierMessageSISH;
use App\Messenger\Message\Esabora\DossierMessageSISH;
use App\Repository\PartnerRepository;
use App\Service\Esabora\AbstractEsaboraService;
use App\Service\Esabora\EsaboraSISHService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Service\Esabora\Handler;

use App\Messenger\Message\DossierMessageSISH;
use App\Messenger\Message\Esabora\DossierMessageSISH;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;

#[AutoconfigureTag('app.dossier_sish_handler')]
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Esabora/Handler/DossierServiceHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace App\Service\Esabora\Handler;

use App\Manager\JobEventManager;
use App\Messenger\Message\DossierMessageSISH;
use App\Messenger\Message\Esabora\DossierMessageSISH;
use App\Repository\PartnerRepository;
use App\Service\Esabora\AbstractEsaboraService;
use App\Service\Esabora\EsaboraSISHService;
Expand Down
4 changes: 2 additions & 2 deletions tests/FixturesHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
use App\Entity\Suivi;
use App\Entity\Territory;
use App\Entity\User;
use App\Messenger\Message\DossierMessageSCHS;
use App\Messenger\Message\DossierMessageSISH;
use App\Messenger\Message\Esabora\DossierMessageSCHS;
use App\Messenger\Message\Esabora\DossierMessageSISH;
use App\Service\Esabora\AbstractEsaboraService;
use App\Service\Esabora\Enum\PersonneType;
use App\Service\Esabora\Model\DossierMessageSISHPersonne;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use App\Entity\JobEvent;
use App\EventSubscriber\WorkerMessageEventSubscriber;
use App\Manager\JobEventManager;
use App\Messenger\Message\DossierMessageSCHS;
use App\Messenger\Message\Esabora\DossierMessageSCHS;
use App\Repository\PartnerRepository;
use App\Service\Esabora\AbstractEsaboraService;
use App\Tests\FixturesHelper;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace App\Tests\Unit\Messenger\MessageHandler;
namespace App\Tests\Unit\Messenger\MessageHandler\Esabora;

use App\Entity\Partner;
use App\Manager\JobEventManager;
use App\Messenger\MessageHandler\DossierMessageSCHSHandler;
use App\Messenger\MessageHandler\Esabora\DossierMessageSCHSHandler;
use App\Repository\PartnerRepository;
use App\Service\Esabora\EsaboraSCHSService;
use App\Tests\FixturesHelper;
Expand Down

0 comments on commit 6d1e2e7

Please sign in to comment.