@@ -36,7 +36,6 @@ |
||
| 36 | 36 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
| 37 | 37 | use Symfony\Component\Routing\Exception\RouteNotFoundException; |
| 38 | 38 | use Symfony\Component\Validator\Constraints as Assert; |
| 39 | -use Symfony\Component\Form\FormError; |
|
| 40 | 39 | use Monolog\Logger; |
| 41 | 40 | |
| 42 | 41 | class PluginController extends AbstractController |
@@ -28,7 +28,6 @@ |
||
| 28 | 28 | use Eccube\Entity\Master\DeviceType; |
| 29 | 29 | use Eccube\Util\Str; |
| 30 | 30 | use Symfony\Component\Filesystem\Filesystem; |
| 31 | -use Symfony\Component\Finder\Finder; |
|
| 32 | 31 | use Symfony\Component\Form\FormError; |
| 33 | 32 | use Symfony\Component\HttpFoundation\Request; |
| 34 | 33 | use Symfony\Component\HttpFoundation\Response; |
@@ -25,8 +25,6 @@ |
||
| 25 | 25 | |
| 26 | 26 | use Symfony\Component\Form\AbstractType; |
| 27 | 27 | use Symfony\Component\Form\FormBuilderInterface; |
| 28 | -use Symfony\Component\Form\FormError; |
|
| 29 | -use Symfony\Component\Form\FormEvents; |
|
| 30 | 28 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
| 31 | 29 | use Symfony\Component\Security\Core\Validator\Constraints\UserPassword; |
| 32 | 30 | use Symfony\Component\Validator\Constraints as Assert; |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | use Symfony\Component\Form\AbstractType; |
| 28 | 28 | use Symfony\Component\Form\Extension\Core\Type; |
| 29 | 29 | use Symfony\Component\Form\FormBuilderInterface; |
| 30 | -use Symfony\Component\Validator\Constraints as Assert; |
|
| 31 | 30 | |
| 32 | 31 | class SearchProductType extends AbstractType |
| 33 | 32 | { |
@@ -26,7 +26,6 @@ |
||
| 26 | 26 | |
| 27 | 27 | use Eccube\Common\Constant; |
| 28 | 28 | use Eccube\Util\EntityUtil; |
| 29 | -use Symfony\Component\Form\FormFactory; |
|
| 30 | 29 | use Symfony\Component\HttpFoundation\Request; |
| 31 | 30 | use Doctrine\Common\Collections\ArrayCollection; |
| 32 | 31 | |
@@ -23,8 +23,6 @@ |
||
| 23 | 23 | |
| 24 | 24 | namespace Eccube\Service; |
| 25 | 25 | |
| 26 | -use Eccube\Application; |
|
| 27 | - |
|
| 28 | 26 | |
| 29 | 27 | /** |
| 30 | 28 | * Copyright (C) 2012-2014 David de Boer <[email protected]> |
@@ -54,8 +54,8 @@ |
||
| 54 | 54 | new Assert\NotBlank(), |
| 55 | 55 | new Assert\Length(array('max' => $this->config['stext_len'])), |
| 56 | 56 | new Assert\Regex(array( |
| 57 | - 'pattern' => "/^[0-9a-zA-Z]+$/", |
|
| 58 | - )), |
|
| 57 | + 'pattern' => "/^[0-9a-zA-Z]+$/", |
|
| 58 | + )), |
|
| 59 | 59 | ), |
| 60 | 60 | )) |
| 61 | 61 | ->add('admin_allow_host', 'textarea', array( |
@@ -72,9 +72,9 @@ |
||
| 72 | 72 | 'required' => false, |
| 73 | 73 | )) |
| 74 | 74 | ->add('Category', 'category', array( |
| 75 | - 'label' => '商品カテゴリ', |
|
| 76 | - 'multiple' => true, |
|
| 77 | - 'mapped' => false, |
|
| 75 | + 'label' => '商品カテゴリ', |
|
| 76 | + 'multiple' => true, |
|
| 77 | + 'mapped' => false, |
|
| 78 | 78 | )) |
| 79 | 79 | |
| 80 | 80 | // 詳細な説明 |
@@ -17,8 +17,8 @@ |
||
| 17 | 17 | $config->registerMigrationsFromDirectory($migrationFilePath ); |
| 18 | 18 | $config->setMigrationsTableName(self::MIGRATION_TABLE_PREFIX.$pluginCode); |
| 19 | 19 | $migration = new Migration($config); |
| 20 | - // null 又は 'last' を渡すと最新バージョンまでマイグレートする |
|
| 21 | - // 0か'first'を渡すと最初に戻る |
|
| 20 | + // null 又は 'last' を渡すと最新バージョンまでマイグレートする |
|
| 21 | + // 0か'first'を渡すと最初に戻る |
|
| 22 | 22 | $migration->migrate($version, false); |
| 23 | 23 | |
| 24 | 24 | |