Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
1c442e85
Commit
1c442e85
authored
May 27, 2012
by
Mark Sonnabaum
Committed by
Larry Garfield
May 28, 2012
Browse files
Removed unnecessary "use" statements.
parent
98fbeaf3
Changes
9
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Core/DrupalKernel.php
View file @
1c442e85
...
...
@@ -7,15 +7,9 @@
namespace
Drupal\Core
;
use
Symfony\Component\HttpFoundation\Request
;
use
Symfony\Component\HttpFoundation\Response
;
use
Symfony\Component\Routing\RequestContext
;
use
Symfony\Component\HttpKernel\HttpKernel
;
use
Symfony\Component\HttpKernel\KernelEvents
;
use
Symfony\Component\EventDispatcher\EventDispatcherInterface
;
use
Symfony\Component\EventDispatcher\Event
;
use
Symfony\Component\HttpKernel\Controller\ControllerResolverInterface
;
use
Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent
;
use
Symfony\Component\HttpKernel\EventListener\ExceptionListener
;
use
Drupal\Core\EventSubscriber\ViewSubscriber
;
use
Drupal\Core\EventSubscriber\AccessSubscriber
;
...
...
@@ -27,8 +21,6 @@
use
Drupal\Core\EventSubscriber\RequestCloseSubscriber
;
use
Drupal\Core\EventSubscriber\RouterListener
;
use
Exception
;
/**
* The DrupalKernel class is the core of Drupal itself.
*/
...
...
core/lib/Drupal/Core/EventSubscriber/AccessSubscriber.php
View file @
1c442e85
...
...
@@ -7,13 +7,9 @@
namespace
Drupal\Core\EventSubscriber
;
use
Symfony\Component\HttpFoundation\Response
;
use
Symfony\Component\HttpKernel\KernelEvents
;
use
Symfony\Component\HttpKernel\Event\GetResponseEvent
;
use
Symfony\Component\HttpKernel\Exception\NotFoundHttpException
;
use
Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException
;
use
Symfony\Component\Routing\Exception\ResourceNotFoundException
;
use
Symfony\Component\Routing\Exception\MethodNotAllowedException
;
use
Symfony\Component\EventDispatcher\EventSubscriberInterface
;
/**
...
...
core/lib/Drupal/Core/EventSubscriber/LegacyControllerSubscriber.php
View file @
1c442e85
...
...
@@ -7,7 +7,6 @@
namespace
Drupal\Core\EventSubscriber
;
use
Symfony\Component\HttpFoundation\Request
;
use
Symfony\Component\HttpKernel\KernelEvents
;
use
Symfony\Component\HttpKernel\Event\FilterControllerEvent
;
use
Symfony\Component\EventDispatcher\EventSubscriberInterface
;
...
...
core/lib/Drupal/Core/EventSubscriber/LegacyRequestSubscriber.php
View file @
1c442e85
...
...
@@ -7,7 +7,6 @@
namespace
Drupal\Core\EventSubscriber
;
use
Symfony\Component\HttpFoundation\Request
;
use
Symfony\Component\HttpKernel\HttpKernelInterface
;
use
Symfony\Component\HttpKernel\KernelEvents
;
use
Symfony\Component\HttpKernel\Event\GetResponseEvent
;
...
...
core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php
View file @
1c442e85
...
...
@@ -7,7 +7,6 @@
namespace
Drupal\Core\EventSubscriber
;
use
Symfony\Component\HttpFoundation\Request
;
use
Symfony\Component\HttpKernel\KernelEvents
;
use
Symfony\Component\HttpKernel\Event\GetResponseEvent
;
use
Symfony\Component\EventDispatcher\EventSubscriberInterface
;
...
...
core/lib/Drupal/Core/EventSubscriber/RouterListener.php
View file @
1c442e85
...
...
@@ -15,7 +15,6 @@
use
Symfony\Component\HttpKernel\Log\LoggerInterface
;
use
Symfony\Component\Routing\Matcher\UrlMatcherInterface
;
use
Symfony\Component\Routing\Exception\ResourceNotFoundException
;
use
Symfony\Component\Routing\Exception\MethodNotFoundException
;
/**
* Drupal-specific Router listener.
...
...
core/lib/Drupal/Core/EventSubscriber/ViewSubscriber.php
View file @
1c442e85
...
...
@@ -11,10 +11,6 @@
use
Symfony\Component\HttpFoundation\JsonResponse
;
use
Symfony\Component\HttpKernel\KernelEvents
;
use
Symfony\Component\HttpKernel\Event\GetResponseEvent
;
use
Symfony\Component\HttpKernel\Exception\NotFoundHttpException
;
use
Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException
;
use
Symfony\Component\Routing\Exception\ResourceNotFoundException
;
use
Symfony\Component\Routing\Exception\MethodNotAllowedException
;
use
Symfony\Component\EventDispatcher\EventSubscriberInterface
;
use
Drupal\Core\ContentNegotiation
;
...
...
core/lib/Drupal/Core/ExceptionController.php
View file @
1c442e85
...
...
@@ -10,14 +10,9 @@
use
Symfony\Component\HttpFoundation\Request
;
use
Symfony\Component\HttpFoundation\Response
;
use
Symfony\Component\HttpFoundation\JsonResponse
;
use
Symfony\Component\HttpKernel\HttpKernelInterface
;
use
Symfony\Component\EventDispatcher\EventDispatcher
;
use
Symfony\Component\HttpKernel\Controller\ControllerResolver
;
use
Symfony\Component\HttpKernel\Exception\FlattenException
;
use
Exception
;
/**
* This controller handles HTTP errors generated by the routing system.
*/
...
...
core/lib/Drupal/Core/LegacyUrlMatcher.php
View file @
1c442e85
...
...
@@ -8,13 +8,9 @@
namespace
Drupal\Core
;
use
Symfony\Component\HttpFoundation\Request
;
use
Symfony\Component\Routing\Exception\MethodNotAllowedException
;
use
Symfony\Component\Routing\Exception\ResourceNotFoundException
;
use
Symfony\Component\Routing\Matcher\UrlMatcherInterface
;
use
Symfony\Component\Routing\Matcher\UrlMatcher
as
SymfonyUrlMatcher
;
use
Symfony\Component\Routing\RequestContext
;
use
Symfony\Component\Routing\Route
;
use
Symfony\Component\Routing\RouteCollection
;
/**
* UrlMatcher matches URL based on a set of routes.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment