Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Implement psr2 multiline function declaration #4

Merged
merged 1 commit into from
Jan 5, 2015

Conversation

mojoLyon
Copy link

Argument lists MAY be split across multiple lines, where each
subsequent line is indented once. When doing so, the first item in the
list MUST be on the next line, and there MUST be only one argument per
line. When the argument list is split across multiple lines, the closing
parenthesis and opening brace MUST be placed together on their own line
with one space between them.

Close #3

Argument lists MAY be split across multiple lines, where each
subsequent line is indented once. When doing so, the first item in the
list MUST be on the next line, and there MUST be only one argument per
line. When the argument list is split across multiple lines, the closing
parenthesis and opening brace MUST be placed together on their own line
with one space between them.
@fdubost
Copy link
Member

fdubost commented Dec 24, 2014

👍

@mojoLyon
Copy link
Author

This pr may break validation in some projects.

@t-geindre
Copy link
Member

👍

mikaelrandy added a commit that referenced this pull request Jan 5, 2015
Implement psr2 multiline function declaration
@mikaelrandy mikaelrandy merged commit d3dee7c into master Jan 5, 2015
@mikaelrandy mikaelrandy deleted the psr2-multiline-function-declaration branch January 5, 2015 09:32
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.

Multiline argument list for method definition not PSR-2 compatible
4 participants