Re: Questions on some coding styles

2016-08-23 Thread 'Alexander Makarov' via PHP Framework Interoperability Group
Then https://groups.google.com/forum/#!topic/php-fig/kIqR-7WI690 should be OK, right? It's was the new rule which was not present in PSR-2 and isn't connected with new PHP functionality. On Monday, August 22, 2016 at 9:32:31 PM UTC+3, Michael Cullum wrote: > > If this was discussed for PSR-1/2 t

Re: Questions on some coding styles

2016-08-22 Thread Michael Cullum
If this was discussed for PSR-1/2 then intentionally omitted, especially if for reasons of contention, then it's out of scope for PSR-12 which should only *clarify statements that were incorrect or or unintentionally unambiguous* in PSR-1/2, and things that *relate to new functionality* added t

Re: Questions on some coding styles

2016-08-21 Thread kapitanluffy pirata
Oh thanks, I subscribed to them. On Monday, August 22, 2016 at 4:27:03 AM UTC+8, Alexander Makarov wrote: > > Indeed these aren't addressed in PSR-2. There's PSR-12 in the works > . > > First two cases

Re: Questions on some coding styles

2016-08-21 Thread Paul Jones
> On Aug 18, 2016, at 21:08, kapitanluffy pirata wrote: > > I was looking at PSR-2 and there are no suggestions to the following: > > - Should empty lines have tabs that align with lines that have characters or > should it be fully empty? > > - When assigning variables, I see some aligning th

Re: Questions on some coding styles

2016-08-21 Thread 'Alexander Makarov' via PHP Framework Interoperability Group
Indeed these aren't addressed in PSR-2. There's PSR-12 in the works . First two cases aren't addressed as well so I've created issue for these: - https://github.com/cs-extended/fig-standards/issues/37

Questions on some coding styles

2016-08-18 Thread kapitanluffy pirata
I was looking at PSR-2 and there are no suggestions to the following: - Should empty lines have tabs that align with lines that have characters or should it be fully empty? - When assigning variables, I see some aligning the equals sign (=) using spaces while others just use a space before and