Skip to content

Commit 4f4ba5a

Browse files
authored
Merge pull request #176 from bouland/patch-1
Releasing scope constraint
2 parents 0263ae6 + 8543e49 commit 4f4ba5a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/EventListener/ExceptionListener.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
class ExceptionListener implements SentryExceptionListenerInterface
2727
{
2828
/** @var TokenStorageInterface|null */
29-
private $tokenStorage;
29+
protected $tokenStorage;
3030

3131
/** @var AuthorizationCheckerInterface|null */
32-
private $authorizationChecker;
32+
protected $authorizationChecker;
3333

3434
/** @var \Raven_Client */
3535
protected $client;
@@ -38,7 +38,7 @@ class ExceptionListener implements SentryExceptionListenerInterface
3838
protected $eventDispatcher;
3939

4040
/** @var RequestStack */
41-
private $requestStack;
41+
protected $requestStack;
4242

4343
/** @var string[] */
4444
protected $skipCapture;
@@ -147,7 +147,7 @@ public function onConsoleException(ConsoleExceptionEvent $event): void
147147
/**
148148
* @param ConsoleExceptionEvent|ConsoleErrorEvent $event
149149
*/
150-
private function handleConsoleError(ConsoleEvent $event): void
150+
protected function handleConsoleError(ConsoleEvent $event): void
151151
{
152152
$command = $event->getCommand();
153153
switch (true) {
@@ -190,7 +190,7 @@ protected function shouldExceptionCaptureBeSkipped(\Throwable $exception): bool
190190
/**
191191
* @param UserInterface | object | string $user
192192
*/
193-
private function setUserValue($user)
193+
protected function setUserValue($user)
194194
{
195195
$data = [];
196196

0 commit comments

Comments
 (0)