@@ -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); |
@@ -346,7 +346,7 @@ |
||
346 | 346 | * Get currency symbol |
347 | 347 | * |
348 | 348 | * @param null $currency |
349 | - * @return bool|string |
|
349 | + * @return string|null |
|
350 | 350 | */ |
351 | 351 | public function getCurrencySymbol($currency = null) |
352 | 352 | { |
@@ -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 |
@@ -96,7 +96,7 @@ |
||
96 | 96 | PluginApiService $pluginApiService, |
97 | 97 | ComposerServiceInterface $composerService, |
98 | 98 | SystemService $systemService |
99 | - ){ |
|
99 | + ) { |
|
100 | 100 | $this->pluginRepository = $pluginRepository; |
101 | 101 | $this->pluginService = $pluginService; |
102 | 102 | $this->BaseInfo = $baseInfoRepository->get(); |
@@ -22,11 +22,11 @@ |
||
22 | 22 | use Eccube\Exception\PluginException; |
23 | 23 | use Eccube\Repository\PluginRepository; |
24 | 24 | use Eccube\Service\Composer\ComposerServiceInterface; |
25 | +use Eccube\Service\SystemService; |
|
25 | 26 | use Eccube\Util\CacheUtil; |
26 | 27 | use Eccube\Util\StringUtil; |
27 | 28 | use Symfony\Component\DependencyInjection\ContainerInterface; |
28 | 29 | use Symfony\Component\Filesystem\Filesystem; |
29 | -use Eccube\Service\SystemService; |
|
30 | 30 | |
31 | 31 | class PluginService |
32 | 32 | { |
@@ -14,11 +14,11 @@ |
||
14 | 14 | namespace Eccube\Service; |
15 | 15 | |
16 | 16 | use Doctrine\ORM\EntityManagerInterface; |
17 | +use Symfony\Component\DependencyInjection\ContainerInterface; |
|
17 | 18 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
18 | 19 | use Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector; |
19 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
20 | -use Symfony\Component\HttpKernel\KernelEvents; |
|
21 | 20 | use Symfony\Component\HttpKernel\Event\PostResponseEvent; |
21 | +use Symfony\Component\HttpKernel\KernelEvents; |
|
22 | 22 | |
23 | 23 | class SystemService implements EventSubscriberInterface |
24 | 24 | { |