Skip to content

Commit

Permalink
Merge pull request #489 from gscioni-axelerant/main
Browse files Browse the repository at this point in the history
feat: handling sf deprecation suppression
  • Loading branch information
stof authored Aug 29, 2024
2 parents 473ae65 + 3890e28 commit d99b299
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/EventListener/BlameListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\Event\RequestEvent;
use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\HttpKernel\KernelEvents;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
Expand Down Expand Up @@ -48,6 +47,9 @@ public function onKernelRequest(RequestEvent $event): void
}
}

/**
* @return array<string, string>
*/
public static function getSubscribedEvents()
{
return array(
Expand Down
3 changes: 3 additions & 0 deletions src/EventListener/IpTraceListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public function onKernelRequest(RequestEvent $event): void
}
}

/**
* @return array<string, array<int, int|string>>
*/
public static function getSubscribedEvents(): array
{
return array(
Expand Down
3 changes: 3 additions & 0 deletions src/EventListener/LocaleListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ public function onKernelRequest(RequestEvent $event): void
$this->translatableListener->setTranslatableLocale($event->getRequest()->getLocale());
}

/**
* @return array<string, string>
*/
public static function getSubscribedEvents()
{
return array(
Expand Down
3 changes: 3 additions & 0 deletions src/EventListener/LoggerListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ public function onKernelRequest(RequestEvent $event): void
}
}

/**
* @return array<string, string>
*/
public static function getSubscribedEvents()
{
return array(
Expand Down

0 comments on commit d99b299

Please sign in to comment.