Skip to content

Commit

Permalink
Merge pull request #4964 from NickelLab/4.1-bug-fixture-generate
Browse files Browse the repository at this point in the history
console e:f:generate が動作しないのを修正
  • Loading branch information
okazy committed Mar 16, 2021
2 parents 9ab45e3 + 244c2b8 commit f844905
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ RUN apt-get update \
;

RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/freetype2 --with-png-dir=/usr/include --with-jpeg-dir=/usr/include \
&& docker-php-ext-install -j$(nproc) zip gd mysqli pdo_mysql opcache intl pgsql pdo_pgsql \
;

Expand Down
1 change: 1 addition & 0 deletions dockerbuild/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ opcache.max_accelerated_files = 20000
opcache.memory_consumption=256
realpath_cache_size = 4096K
realpath_cache_ttl = 600
memory_limit = 512M
4 changes: 2 additions & 2 deletions src/Eccube/Command/GenerateDummyDataCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace Eccube\Command;

use Doctrine\ORM\EntityManager;
use Doctrine\ORM\EntityManagerInterface;
use Eccube\Entity\Master\OrderStatus;
use Eccube\Repository\DeliveryRepository;
use Eccube\Repository\ProductRepository;
Expand Down Expand Up @@ -48,7 +48,7 @@ class GenerateDummyDataCommand extends Command
*/
protected $productRepository;

public function __construct(Generator $generator = null, EntityManager $entityManager = null, DeliveryRepository $deliveryRepository = null, ProductRepository $productRepository = null)
public function __construct(Generator $generator = null, EntityManagerInterface $entityManager = null, DeliveryRepository $deliveryRepository = null, ProductRepository $productRepository = null)
{
parent::__construct();
$this->generator = $generator;
Expand Down

0 comments on commit f844905

Please sign in to comment.