Skip to content

Permit longer comments #92

@dpi

Description

@dpi

The existing rules for 80 line length is quite short in 2025. We should consider 120, or longer, depending on what is widely accepted in the PHP ecosystem.

My motivation is the rule in Drupal for first-line-of-methods/class etc is just irritatingly short. Often I have to nerf the first line into something useless, where the main meat is found in the next line, and the first line is just useless.

I'm not seeing rules in code sniffer standard or slevomat rules for line length limit, other than a code length limit.

So I'm thinking this isnt enforced in other common projects, or there is custom rules, or things that are enforced use code-fixer instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions