Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Split multiple implements into multiple lines #4640

Closed
wants to merge 2 commits into from

Conversation

localheinz
Copy link
Member

As it's close to calling it a day I'm issuing a no-brainer PR that does the following:

abstract class AbstractAdapter implements StorageInterface, EventsCapableInterface
abstract class AbstractAdapter implements
StorageInterface,
EventsCapableInterface
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are really only necessary when the line length gets to be too long (i.e. > 100-120 characters) -- in other words, only those files that have horizontal scrolls in the files listing of this PR.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In #4362 (comment) you say

You should only ever split onto multiple lines, really, when there's more than one interface, or the line is getting too long. In the latter case, the interface name goes on the next line only; the word implements stays on the previous line.

@ghost ghost assigned mwillbanks Jun 20, 2013
mwillbanks pushed a commit that referenced this pull request Jun 20, 2013
@neeckeloo neeckeloo mentioned this pull request Jun 21, 2013
@localheinz localheinz deleted the hotfix/4362 branch October 12, 2014 12:34
gianarb pushed a commit to zendframework/zend-paginator that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-paginator that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-server that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-server that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-ldap that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-ldap that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-session that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-session that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants