Re: [PSR-12] Multiline control structures conditions

2017-03-14 Thread julien . falque
Sure. Le lundi 13 mars 2017 20:09:01 UTC+1, Alexander Makarov a écrit : > > Yes, why not? Could you pull request with the changes you think are > appropriate? > > On Friday, March 10, 2017 at 5:52:58 PM UTC+3, julien...@gmail.com wrote: >> >> Exactly. >> >> PSR-2 and PSR-12 do not explicitly allo

Re: [PSR-12] Multiline control structures conditions

2017-03-13 Thread 'Alexander Makarov' via PHP Framework Interoperability Group
Yes, why not? Could you pull request with the changes you think are appropriate? On Friday, March 10, 2017 at 5:52:58 PM UTC+3, julien...@gmail.com wrote: > > Exactly. > > PSR-2 and PSR-12 do not explicitly allow such case. > IMO the current rules are subject to interpretation: one could think >

Re: [PSR-12] Multiline control structures conditions

2017-03-10 Thread julien . falque
Exactly. PSR-2 and PSR-12 do not explicitly allow such case. IMO the current rules are subject to interpretation: one could think newlines are forbidden as well. I even saw some coding style tools report those as invalid. Do you think we should update the document to remove any ambiguity? Le ve

Re: [PSR-12] Multiline control structures conditions

2017-03-10 Thread 'Alexander Makarov' via PHP Framework Interoperability Group
No, not really. I guess you mean the case with long conditions you want to split into multiple lines, right? On Thursday, March 9, 2017 at 6:25:35 PM UTC+3, julien...@gmail.com wrote: > > Hi. > > In PSR-12, spaces are forbidden after the opening parenthesis of a control > structure and before th

[PSR-12] Multiline control structures conditions

2017-03-09 Thread julien . falque
Hi. In PSR-12, spaces are forbidden after the opening parenthesis of a control structure and before the closing one. Does this rule apply to any spacing character, including newline? -- You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Gr