EC-CUBE / EC-CUBE/ec-cube3

PHP7.4 対応

Open
#74 2 comments 0 reactions 0 assignees View on GitHub
improvement
Dominant language
PHP
Stars
13
Forks
26
PR merge metrics
No merged PRs in 30d

Description

## 概要(Overview)
PHP7.4 で動作するよう対応する

## 期待する内容(Expect) or 要望 (Requirement)
PHP7.4 でユニットテスト・E2Eテストがすべて通ること

## 課題(Problem)

### Warning, Deprecated が発生する

```
PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /Users/nanasess/git-repos/ec-cube3/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 2640
```
```
[Thu Dec 12 10:23:23 2019] PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /Users/nanasess/git-repos/ec-cube3/vendor/twig/twig/lib/Twig/Node.php on line 44
```
```
[Thu Dec 12 10:23:34 2019] PHP Notice: Trying to access array offset on value of type null in /Users/nanasess/git-repos/ec-cube3/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php on line 531
```

### セレクトボックスが表示されない

`` が **selectid** に変化してしまう模様
```
選択してください
```

## 再現手順(Procedure)
PHP7.4でユニットテスト・E2Eテストを実行する

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

## 関連情報 (Ref)

- https://github.com/EC-CUBE/ec-cube/issues/4384

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.