New rule: Interface implemenations split across lines #8009
Labels
contribution welcome
Core team is looking for a contribution
kind/feature request
topic/whitespace
Indentation, spacing, new lines
Feature request
When a class implements multiple interfaces, it can quickly become unreadable.
That's why the PSR-2 section 4.1. Extends and Implements states that you MAY split the list of
implements
across lines:I would appreciate if there was a PHP-CS-Fixer rule that does the multi-line split automatically.
Ideally with a given threshold (amount of implemented interfaces) as to where it changes from single-line to multi-line.
Let me know your thoughts about it.
Link to Discussion where feature request was formed
No response
Contribution Checks
The text was updated successfully, but these errors were encountered: