PSR12 Line limit
#348
-
Hey, I'm not sure why but the PSR12 rule for line limit where it should split them after 120 doesn't seem to be enforced? Cheers, |
Beta Was this translation helpful? Give feedback.
Answered by
jrfnl
Feb 19, 2024
Replies: 1 comment 3 replies
-
@furai Are you by chance ignoring warnings ? As per PSR-12, this is a "soft" limit, i.e. a warning, not an error. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
furai
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@furai Are you by chance ignoring warnings ? As per PSR-12, this is a "soft" limit, i.e. a warning, not an error.
Ref: https://www.php-fig.org/psr/psr-12/#23-lines