複数の Trait で __construct が定義できない
Open
document
- Dominant language
- PHP
- Stars
- 788
- Forks
- 719
- Avg merge
- 4d 4h
- Merged PRs (30d)
- 39
Description
## 概要(Overview)
複数のプラグインで同じ Entity に対して作成した Trait で重複して __construct が定義できない。
## 期待する内容(Expect) or 要望 (Requirement)
複数の Trait で __construct が定義できるようにする。
## 再現手順(Procedure)
会員ランクプラグインとリピートキューブをインストールしようとするとエラーになってしまう。
Fatal Compile Error: Trait method __construct has not been applied, because there are collisions with other trait methods
各プラグインの ProductClassTrait で __construct を定義していると発生する。
### 環境 (environment)
+ EC-CUBE: 4.0.2
+ PHP: 7.1.22
+ DB:
- MySQL 5.7.23
## 関連情報 (Ref)
Contributor guide
Assessment
This issue has not been assessed yet.