mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-04 12:29:43 +00:00
Run symfonysetlist symfony_62
This commit is contained in:
@@ -19,13 +19,13 @@ use Doctrine\ORM\EntityManagerInterface;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
|
||||
|
||||
final readonly class PdfSignedMessageHandler implements MessageHandlerInterface
|
||||
#[\Symfony\Component\Messenger\Attribute\AsMessageHandler]
|
||||
final readonly class PdfSignedMessageHandler
|
||||
{
|
||||
/**
|
||||
* log prefix.
|
||||
*/
|
||||
private const P = '[pdf signed message] ';
|
||||
|
||||
public function __construct(
|
||||
private LoggerInterface $logger,
|
||||
private EntityWorkflowManager $entityWorkflowManager,
|
||||
@@ -34,7 +34,6 @@ final readonly class PdfSignedMessageHandler implements MessageHandlerInterface
|
||||
private EntityManagerInterface $entityManager,
|
||||
private SignatureStepStateChanger $signatureStepStateChanger,
|
||||
) {}
|
||||
|
||||
public function __invoke(PdfSignedMessage $message): void
|
||||
{
|
||||
$this->logger->info(self::P.'a message is received', ['signaturedId' => $message->signatureId]);
|
||||
|
@@ -30,10 +30,10 @@ use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
|
||||
* If a StoredObject is a candidate for deletion (is expired and no more version stored), it is also removed from the
|
||||
* database.
|
||||
*/
|
||||
final readonly class RemoveOldVersionMessageHandler implements MessageHandlerInterface
|
||||
#[\Symfony\Component\Messenger\Attribute\AsMessageHandler]
|
||||
final readonly class RemoveOldVersionMessageHandler
|
||||
{
|
||||
private const LOG_PREFIX = '[RemoveOldVersionMessageHandler] ';
|
||||
|
||||
public function __construct(
|
||||
private StoredObjectVersionRepository $storedObjectVersionRepository,
|
||||
private LoggerInterface $logger,
|
||||
@@ -41,7 +41,6 @@ final readonly class RemoveOldVersionMessageHandler implements MessageHandlerInt
|
||||
private StoredObjectManagerInterface $storedObjectManager,
|
||||
private ClockInterface $clock,
|
||||
) {}
|
||||
|
||||
/**
|
||||
* @throws StoredObjectManagerException
|
||||
*/
|
||||
|
Reference in New Issue
Block a user