EC-CUBE / EC-CUBE/ec-cube

パッケージ版でbin/console listでエラーが表示される

Open
#3,944 1 comment 1 reaction 0 assignees View on GitHub
bug:Low
Dominant language
PHP
Stars
788
Forks
719
Avg merge
4d 4h
Merged PRs (30d)
39

Description

## 概要(Overview)

パッケージ版で 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\Generator", "Sensio\Bundle\GeneratorBundle\Generator\Generator" or "Faker\Genera
tor"?
```

https://github.com/EC-CUBE/ec-cube/blob/4.0/app/config/eccube/packages/dev/generator.yaml

APP_ENV=dev時、Generatorのサービス定義を行っているが、パッケージ版にはtests以下のコードは同梱されないため。

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

- エラーが表示されないこと

## 再現手順(Procedure)

- パッケージ版をダウンロード/インストール
- bin/console listを実行
- 概要のエラーが表示される

### 環境 (environment)
+ EC-CUBE: 4.0.0
+ PHP: x.x.x
+ DB:
- PostgreSQL x.x.x
- MySQL x.x.x

## 関連情報 (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.