Yii2: Superfluous UTF-8 BOM in messages/az/yii.php

Created on 30 Dec 2016  路  3Comments  路  Source: yiisoft/yii2

Superfluous UTF-8 BOM in messages/az/yii.php.
Later it is inserted into the answer on network.
See screenshot.

messages_az

Additional info

| Q | A
| ---------------- | ---
| Yii version | 2.0.10
| PHP version | 5.6.29
| Operating system | Debian 8.6

Most helpful comment

added a check to travis.yml: 17c2725

All 3 comments

I scanned the entire framework directory. Indeed, this file has a BOM.

grep -rlI $'\xEF\xBB\xBF'
messages/az/yii.php

Used this command for scanning with additionally ignoring of binary files.

Good nitpick, I'll send PR in the next few minutes.

added a check to travis.yml: 17c2725

Good idea to automate detecting BOM in Travis, 馃憤

Was this page helpful?
0 / 5 - 0 ratings