@@ -1,17 +1,16 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Ftrrtf\RollbarBundle\EventListener; |
| 3 | 3 | |
| 4 | +use Ftrrtf\RollbarBundle\Helper\UserHelper; |
|
| 4 | 5 | use Ftrrtf\Rollbar\ErrorHandler; |
| 5 | 6 | use Ftrrtf\Rollbar\Notifier; |
| 6 | -use Ftrrtf\RollbarBundle\Helper\UserHelper; |
|
| 7 | 7 | use Symfony\Component\Console\Event\ConsoleExceptionEvent; |
| 8 | 8 | use Symfony\Component\HttpKernel\Event\FilterResponseEvent; |
| 9 | 9 | use Symfony\Component\HttpKernel\Event\GetResponseEvent; |
| 10 | -use Symfony\Component\HttpKernel\Exception\HttpException; |
|
| 11 | 10 | use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent; |
| 11 | +use Symfony\Component\HttpKernel\Exception\HttpException; |
|
| 12 | 12 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
| 13 | 13 | use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface; |
| 14 | -use Symfony\Component\Security\Core\SecurityContextInterface; |
|
| 15 | 14 | |
| 16 | 15 | /** |
| 17 | 16 | * Class RollbarListener |
@@ -2,11 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Ftrrtf\RollbarBundle\Twig; |
| 4 | 4 | |
| 5 | -use Exception; |
|
| 6 | 5 | use Ftrrtf\RollbarBundle\Helper\UserHelper; |
| 7 | 6 | use Ftrrtf\RollbarBundle\Provider\CheckIgnoreFunctionProviderInterface; |
| 8 | -use RuntimeException; |
|
| 9 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
| 10 | 7 | |
| 11 | 8 | /** |
| 12 | 9 | * Class RollbarExtension |