EC-CUBE / EC-CUBE/ec-cube

--no-dev オプション付きで composer install を実行すると、 bin/console (引数なし) で fatal エラーになる

Open
#3,919 2 comments 0 reactions 0 assignees View on GitHub
bug:Middle
Dominant language
PHP
Stars
788
Forks
719
Avg merge
4d 4h
Merged PRs (30d)
39

Description

## 概要(Overview)

`bin/console list` コマンドが、 require-dev のパッケージに依存しているため

https://xoops.ec-cube.net/modules/newbb/viewtopic.php?viewmode=flat&order=ASC&topic_id=20978&forum=15

## 期待する内容(Expect) or 要望 (Requirement)

--no-dev オプションで composer install を実行しても `bin/console list` コマンドでエラーが出ないようにする

## 再現手順(Procedure)

```
composer install --no-dev
bin/console list

In getGeneratorService.php line 8:

Attempted to load class "Generator" from namespace "Eccube\Tests\Fixture".
Did you forget a "use" statement for e.g. "Symfony\Bundle\MakerBundle\Gener
ator" or "Sensio\Bundle\GeneratorBundle\Generator\Generator"?

```

### 環境 (environment)
+ EC-CUBE: 4.0.0
+ PHP: 7.2.9
+ DB:
- PostgreSQL 10.2

## 関連情報 (Ref)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.