mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 18:43:49 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -21,7 +21,6 @@ namespace Chill\CalendarBundle\Messenger\Doctrine;
|
||||
use Chill\CalendarBundle\Entity\Calendar;
|
||||
use Chill\CalendarBundle\Messenger\Message\CalendarMessage;
|
||||
use Chill\CalendarBundle\Messenger\Message\CalendarRemovedMessage;
|
||||
use Doctrine\ORM\Event\LifecycleEventArgs;
|
||||
use Doctrine\ORM\Event\PostPersistEventArgs;
|
||||
use Doctrine\ORM\Event\PostRemoveEventArgs;
|
||||
use Doctrine\ORM\Event\PostUpdateEventArgs;
|
||||
|
@@ -21,7 +21,6 @@ namespace Chill\CalendarBundle\Messenger\Doctrine;
|
||||
use Chill\CalendarBundle\Entity\CalendarRange;
|
||||
use Chill\CalendarBundle\Messenger\Message\CalendarRangeMessage;
|
||||
use Chill\CalendarBundle\Messenger\Message\CalendarRangeRemovedMessage;
|
||||
use Doctrine\ORM\Event\LifecycleEventArgs;
|
||||
use Doctrine\ORM\Event\PostPersistEventArgs;
|
||||
use Doctrine\ORM\Event\PostRemoveEventArgs;
|
||||
use Doctrine\ORM\Event\PostUpdateEventArgs;
|
||||
|
@@ -43,7 +43,7 @@ class MSGraphChangeNotificationHandler implements MessageHandlerInterface
|
||||
$user = $this->userRepository->find($changeNotificationMessage->getUserId());
|
||||
|
||||
if (null === $user) {
|
||||
$this->logger->warning(self::class . ' notification concern non-existent user, skipping');
|
||||
$this->logger->warning(self::class.' notification concern non-existent user, skipping');
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -52,7 +52,7 @@ class MSGraphChangeNotificationHandler implements MessageHandlerInterface
|
||||
$secret = $this->mapCalendarToUser->getSubscriptionSecret($user);
|
||||
|
||||
if ($secret !== ($notification['clientState'] ?? -1)) {
|
||||
$this->logger->warning(self::class . ' could not validate secret, skipping');
|
||||
$this->logger->warning(self::class.' could not validate secret, skipping');
|
||||
|
||||
continue;
|
||||
}
|
||||
@@ -67,7 +67,7 @@ class MSGraphChangeNotificationHandler implements MessageHandlerInterface
|
||||
$this->calendarSyncer->handleCalendarSync($calendar, $notification, $user);
|
||||
$this->em->flush();
|
||||
} else {
|
||||
$this->logger->info(self::class . ' id not found in any calendar nor calendar range');
|
||||
$this->logger->info(self::class.' id not found in any calendar nor calendar range');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user