dancryer / PHPCI

PHPCI is a free and open source continuous integration tool specifically designed for PHP.
BSD 2-Clause "Simplified" License
2.42k stars 441 forks source link

RUNNING PLUGIN: php_code_sniffer Exception: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'message' at row 1 #1342

Closed cnizzardini closed 6 years ago

cnizzardini commented 6 years ago

Before submitting your issue, please make sure that you've checked all of the checkboxes below.

To help us better understand your issue, please answer the following.

Expected behaviour

Should be able to log a message from the plugin.

Actual behaviour

RUNNING PLUGIN: php_code_sniffer Exception: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'message' at row 1

Steps to reproduce

Lots of crappy code in your project that php_code_sniffer does not like. I manually increased the data type on the column to LONGTEXT to avoid the issue for now.

Environment info

Operating System: Ubuntu 16.04.3 LTS PHP Version: PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS ) MySQL Version: mysql Ver 14.14 Distrib 5.7.19, for Linux (x86_64) using EditLine wrapper

Logs or other output that would be helpful

(If logs are large, please upload as attachment).

anoxia commented 6 years ago

See #1215

cnizzardini commented 6 years ago

@Anoxia thanks, closing since its been reported already.