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
Require space before throw, yield and yield from #136
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would mean forbidding
foreach ($locales as $locale) {
yield $locale->getCode();
}
and
yield 1;
yield 2;
yield 3;
I'm against that. There should be spacing after if
structure, not before yield
@ostrolucky no, it is allowed. It only tries to separate first |
#120 (comment) very similar to this 😉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then all good
Thanks @simPod ! |
built on top of #135
We require space before
return
, let's require it also beforeyield
,yield from
andthrow