Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 opened this issue Sep 28, 2017 · 2 comments

Comments

@cnizzardini
Copy link

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

  • [ X] You're running the latest release version of PHPCI.
  • [ X] Ensure that you're running at least PHP 5.3.6, you can check this by running php -v
  • [ X] You've run composer install --no-dev -o from the root of your installation.
  • [ X] You have set up either the PHPCI Worker, Daemon or Cron Job to run builds.

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
Copy link
Contributor

anoxia commented Nov 3, 2017

See #1215

@cnizzardini
Copy link
Author

@anoxia thanks, closing since its been reported already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants