@@ -13,7 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Eccube\Entity; |
| 15 | 15 | |
| 16 | -use Doctrine\Common\Annotations\Reader; |
|
| 17 | 16 | use Doctrine\Common\Collections\Collection; |
| 18 | 17 | use Doctrine\Common\Inflector\Inflector; |
| 19 | 18 | use Doctrine\ORM\Mapping\Id; |
@@ -28,7 +28,6 @@ |
||
| 28 | 28 | use Eccube\Repository\OrderRepository; |
| 29 | 29 | use Eccube\Repository\ProductRepository; |
| 30 | 30 | use Eccube\Repository\ShippingRepository; |
| 31 | -use Eccube\Util\EntityUtil; |
|
| 32 | 31 | use Eccube\Util\FormUtil; |
| 33 | 32 | use Symfony\Component\Form\FormFactoryInterface; |
| 34 | 33 | use Symfony\Component\HttpFoundation\Request; |
@@ -21,18 +21,18 @@ |
||
| 21 | 21 | use Eccube\Repository\BaseInfoRepository; |
| 22 | 22 | use Eccube\Repository\CustomerRepository; |
| 23 | 23 | use Eccube\Repository\Master\CustomerStatusRepository; |
| 24 | +use Eccube\Service\CartService; |
|
| 24 | 25 | use Eccube\Service\MailService; |
| 25 | 26 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
| 26 | 27 | use Symfony\Component\HttpFoundation\Request; |
| 27 | 28 | use Symfony\Component\HttpKernel\Exception as HttpException; |
| 28 | 29 | use Symfony\Component\Routing\Annotation\Route; |
| 30 | +use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
| 29 | 31 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
| 30 | 32 | use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken; |
| 31 | 33 | use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface; |
| 32 | 34 | use Symfony\Component\Validator\Constraints as Assert; |
| 33 | 35 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
| 34 | -use Eccube\Service\CartService; |
|
| 35 | -use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
| 36 | 36 | |
| 37 | 37 | class EntryController extends AbstractController |
| 38 | 38 | { |
@@ -13,14 +13,12 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Eccube\EventListener; |
| 15 | 15 | |
| 16 | -use Doctrine\Dbal\Connection; |
|
| 17 | 16 | use Doctrine\DBAL\TransactionIsolationLevel; |
| 17 | +use Doctrine\Dbal\Connection; |
|
| 18 | 18 | use Doctrine\ORM\EntityManager; |
| 19 | 19 | use Doctrine\ORM\EntityManagerInterface; |
| 20 | 20 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
| 21 | 21 | use Symfony\Component\HttpKernel\Event\ExceptionEvent; |
| 22 | -use Symfony\Component\HttpKernel\Event\GetResponseEvent; |
|
| 23 | -use Symfony\Component\HttpKernel\Event\PostResponseEvent; |
|
| 24 | 22 | use Symfony\Component\HttpKernel\Event\RequestEvent; |
| 25 | 23 | use Symfony\Component\HttpKernel\Event\TerminateEvent; |
| 26 | 24 | use Symfony\Component\HttpKernel\KernelEvents; |
@@ -23,11 +23,11 @@ |
||
| 23 | 23 | use Eccube\Entity\PageLayout; |
| 24 | 24 | use Eccube\Repository\AuthorityRoleRepository; |
| 25 | 25 | use Eccube\Repository\BaseInfoRepository; |
| 26 | +use Eccube\Repository\BlockPositionRepository; |
|
| 26 | 27 | use Eccube\Repository\LayoutRepository; |
| 27 | 28 | use Eccube\Repository\Master\DeviceTypeRepository; |
| 28 | -use Eccube\Repository\PageRepository; |
|
| 29 | 29 | use Eccube\Repository\PageLayoutRepository; |
| 30 | -use Eccube\Repository\BlockPositionRepository; |
|
| 30 | +use Eccube\Repository\PageRepository; |
|
| 31 | 31 | use Eccube\Request\Context; |
| 32 | 32 | // use SunCat\MobileDetectBundle\DeviceDetector\MobileDetector; |
| 33 | 33 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | use Eccube\DependencyInjection\Compiler\PurchaseFlowPass; |
| 24 | 24 | use Eccube\DependencyInjection\Compiler\QueryCustomizerPass; |
| 25 | 25 | use Eccube\DependencyInjection\Compiler\TwigBlockPass; |
| 26 | -use Eccube\DependencyInjection\Compiler\TwigExtensionPass; |
|
| 27 | 26 | use Eccube\DependencyInjection\Compiler\WebServerDocumentRootPass; |
| 28 | 27 | use Eccube\DependencyInjection\EccubeExtension; |
| 29 | 28 | use Eccube\DependencyInjection\Facade\AnnotationReaderFacade; |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Eccube\Repository; |
| 15 | 15 | |
| 16 | -use Eccube\Entity\BlockPosition; |
|
| 17 | 16 | use Doctrine\Common\Persistence\ManagerRegistry as RegistryInterface; |
| 17 | +use Eccube\Entity\BlockPosition; |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * BlockPositionRepository |
@@ -13,11 +13,11 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Eccube\Repository; |
| 15 | 15 | |
| 16 | +use Doctrine\Common\Persistence\ManagerRegistry as RegistryInterface; |
|
| 16 | 17 | use Doctrine\DBAL\Exception\DriverException; |
| 17 | 18 | use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException; |
| 18 | 19 | use Eccube\Common\EccubeConfig; |
| 19 | 20 | use Eccube\Entity\Category; |
| 20 | -use Doctrine\Common\Persistence\ManagerRegistry as RegistryInterface; |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * CategoryRepository |
@@ -13,13 +13,13 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Eccube\Repository; |
| 15 | 15 | |
| 16 | +use Doctrine\Common\Persistence\ManagerRegistry as RegistryInterface; |
|
| 16 | 17 | use Doctrine\ORM\EntityManagerInterface; |
| 17 | 18 | use Eccube\Common\EccubeConfig; |
| 18 | 19 | use Eccube\Doctrine\Query\Queries; |
| 19 | 20 | use Eccube\Entity\Customer; |
| 20 | 21 | use Eccube\Entity\Master\CustomerStatus; |
| 21 | 22 | use Eccube\Util\StringUtil; |
| 22 | -use Doctrine\Common\Persistence\ManagerRegistry as RegistryInterface; |
|
| 23 | 23 | use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface; |
| 24 | 24 | |
| 25 | 25 | /** |