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.
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.