@@ -543,13 +543,13 @@ |
||
543 | 543 | $pluginConfigs = PluginConfigManager::getPluginConfigAll($this['debug']); |
544 | 544 | $ormMappings = array(); |
545 | 545 | $ormMappings[] = array( |
546 | - 'type' => 'annotation', |
|
547 | - 'namespace' => 'Eccube\Entity', |
|
548 | - 'path' => array( |
|
549 | - __DIR__.'/Entity' |
|
550 | - ), |
|
551 | - 'use_simple_annotation_reader' => false, |
|
552 | - ); |
|
546 | + 'type' => 'annotation', |
|
547 | + 'namespace' => 'Eccube\Entity', |
|
548 | + 'path' => array( |
|
549 | + __DIR__.'/Entity' |
|
550 | + ), |
|
551 | + 'use_simple_annotation_reader' => false, |
|
552 | + ); |
|
553 | 553 | |
554 | 554 | // TODO namespace は暫定 |
555 | 555 | $ormMappings[] = array( |
@@ -31,8 +31,6 @@ discard block |
||
31 | 31 | use Eccube\Common\Constant; |
32 | 32 | use Eccube\Doctrine\DBAL\Types\UTCDateTimeType; |
33 | 33 | use Eccube\Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
34 | -use Eccube\Doctrine\ORM\Mapping\Driver\YamlDriver; |
|
35 | -use Eccube\EventListener\TransactionListener; |
|
36 | 34 | use Eccube\Plugin\ConfigManager as PluginConfigManager; |
37 | 35 | use Eccube\Routing\EccubeRouter; |
38 | 36 | use Eccube\ServiceProvider\EntityEventServiceProvider; |
@@ -44,13 +42,11 @@ discard block |
||
44 | 42 | use Sergiors\Silex\Provider\TemplatingServiceProvider; |
45 | 43 | use Sergiors\Silex\Routing\ChainUrlGenerator; |
46 | 44 | use Sergiors\Silex\Routing\ChainUrlMatcher; |
47 | -use Symfony\Component\EventDispatcher\EventDispatcher; |
|
48 | 45 | use Symfony\Component\Finder\Finder; |
49 | 46 | use Symfony\Component\HttpFoundation\Request; |
50 | 47 | use Symfony\Component\HttpFoundation\Response; |
51 | 48 | use Symfony\Component\HttpKernel\Event\FilterResponseEvent; |
52 | 49 | use Symfony\Component\HttpKernel\Event\GetResponseEvent; |
53 | -use Symfony\Component\HttpKernel\Event\PostResponseEvent; |
|
54 | 50 | use Symfony\Component\HttpKernel\KernelEvents; |
55 | 51 | use Symfony\Component\Yaml\Yaml; |
56 | 52 |