@@ -89,7 +89,6 @@ |
||
| 89 | 89 | * Doctrineのキャッシュを削除します. |
| 90 | 90 | * APP_ENV=prodの場合のみ実行されます. |
| 91 | 91 | * |
| 92 | - * @param null $env |
|
| 93 | 92 | * @return string |
| 94 | 93 | * @throws \Exception |
| 95 | 94 | */ |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | $BaseInfo = $this->find($id); |
| 45 | 45 | |
| 46 | 46 | if (null === $BaseInfo) { |
| 47 | - throw new \Exception('BaseInfo not found. id = '. $id); |
|
| 47 | + throw new \Exception('BaseInfo not found. id = '.$id); |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | return $this->find($id); |
@@ -13,8 +13,8 @@ |
||
| 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; |
@@ -404,6 +404,9 @@ discard block |
||
| 404 | 404 | $Horizon->インストール(); |
| 405 | 405 | } |
| 406 | 406 | |
| 407 | + /** |
|
| 408 | + * @param string $fileName |
|
| 409 | + */ |
|
| 407 | 410 | private function publishPlugin($fileName) |
| 408 | 411 | { |
| 409 | 412 | copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName); |
@@ -547,6 +550,9 @@ discard block |
||
| 547 | 550 | /** @var Store_Plugin */ |
| 548 | 551 | protected $dependency; |
| 549 | 552 | |
| 553 | + /** |
|
| 554 | + * @param string $code |
|
| 555 | + */ |
|
| 550 | 556 | public function __construct(AcceptanceTester $I, $code, Store_Plugin $dependency = null) |
| 551 | 557 | { |
| 552 | 558 | parent::__construct($I); |
@@ -679,6 +685,9 @@ discard block |
||
| 679 | 685 | return $this; |
| 680 | 686 | } |
| 681 | 687 | |
| 688 | + /** |
|
| 689 | + * @param string $fileName |
|
| 690 | + */ |
|
| 682 | 691 | protected function publishPlugin($fileName) |
| 683 | 692 | { |
| 684 | 693 | $published = copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName); |
@@ -697,6 +706,9 @@ discard block |
||
| 697 | 706 | /** @var string */ |
| 698 | 707 | private $code; |
| 699 | 708 | |
| 709 | + /** |
|
| 710 | + * @param string $code |
|
| 711 | + */ |
|
| 700 | 712 | public function __construct(AcceptanceTester $I, $code) |
| 701 | 713 | { |
| 702 | 714 | parent::__construct($I); |
@@ -14,8 +14,8 @@ |
||
| 14 | 14 | namespace Eccube\Plugin; |
| 15 | 15 | |
| 16 | 16 | use Doctrine\DBAL\Connection; |
| 17 | -use Doctrine\DBAL\Migrations\Migration; |
|
| 18 | 17 | use Doctrine\DBAL\Migrations\Configuration\Configuration; |
| 18 | +use Doctrine\DBAL\Migrations\Migration; |
|
| 19 | 19 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 20 | 20 | |
| 21 | 21 | abstract class AbstractPluginManager |