Skip to content

Add method chaining style specification #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2022
Merged

Conversation

vjik
Copy link
Contributor

@vjik vjik commented May 23, 2022

PR is inspired by yiisoft/docs#155

Placing methods in a chain of methods on separate lines is more readable in most cases. In rare cases, this is not the case, so SHOULD.

@samdark samdark merged commit 012658b into php-fig:master May 23, 2022
@samdark
Copy link
Member

samdark commented May 23, 2022

Oww. Merged to early confusing repository :)

@samdark
Copy link
Member

samdark commented May 23, 2022

@KorvinSzanto please be careful when tagging 1.0.0. This commit should not belong to release.

@KorvinSzanto
Copy link
Contributor

I have removed this commit from the repo history so you'll want to reopen the pull request for discussion. I personally am not a fan of adding "SHOULD"s to this recommendation, I don't think it's worth specifying optional rules.

@vjik
Copy link
Contributor Author

vjik commented May 23, 2022

I have removed this commit from the repo history so you'll want to reopen the pull request for discussion. I personally am not a fan of adding "SHOULD"s to this recommendation, I don't think it's worth specifying optional rules.

Reopen: #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants