diff --git a/src/EventListener/ExceptionListener.php b/src/EventListener/ExceptionListener.php index 208afdbc..aaf69586 100644 --- a/src/EventListener/ExceptionListener.php +++ b/src/EventListener/ExceptionListener.php @@ -26,10 +26,10 @@ class ExceptionListener implements SentryExceptionListenerInterface { /** @var TokenStorageInterface|null */ - private $tokenStorage; + protected $tokenStorage; /** @var AuthorizationCheckerInterface|null */ - private $authorizationChecker; + protected $authorizationChecker; /** @var \Raven_Client */ protected $client; @@ -38,7 +38,7 @@ class ExceptionListener implements SentryExceptionListenerInterface protected $eventDispatcher; /** @var RequestStack */ - private $requestStack; + protected $requestStack; /** @var string[] */ protected $skipCapture; @@ -147,7 +147,7 @@ public function onConsoleException(ConsoleExceptionEvent $event): void /** * @param ConsoleExceptionEvent|ConsoleErrorEvent $event */ - private function handleConsoleError(ConsoleEvent $event): void + protected function handleConsoleError(ConsoleEvent $event): void { $command = $event->getCommand(); switch (true) { @@ -190,7 +190,7 @@ protected function shouldExceptionCaptureBeSkipped(\Throwable $exception): bool /** * @param UserInterface | object | string $user */ - private function setUserValue($user) + protected function setUserValue($user) { $data = [];