From https://www.drupal.org/coding-standards#linelength :

In general, all lines of code should not be longer than 80 characters.

Also note that PEAR and Google both use similar standards. The PEAR standards links to an article which explains some of the reasoning behind this. It may be helpful for people who do not understand why lines of code should not exceed 80 characters. http://paul-m-jones.com/archives/276

Comments

jmuzz created an issue. See original summary.

jmuzz’s picture

The Google C++ Style Guide also has several examples of ways to split long lines and increase code readability that can readily be applied to PHP. These examples start here and continue down to the section about boolean expressions.

jmuzz’s picture

Version: 8.x-1.x-dev » 8.x-3.x-dev

Development is moving to 8.x-3.x.

ram4nd’s picture

Status: Active » Closed (won't fix)