Thank you for you suggestions!
For the first one, I've never seen in the wild an usage that would 
contradict that rule, have you ever?
As for the second, it seems pretty reasonable to me, and I've just created 
a PR: https://github.com/php-fig/fig-standards/pull/1089

Il giorno domenica 30 settembre 2018 00:28:29 UTC+2, Mark Baker ha scritto:
>
> Just as an outsider looking at PSR-12 (Extended Coding Style Guide) with a 
> couple of suggestions:
>
> Namespace separators
>
> There shouldn't be any whitespace around a namespace separator, wherever 
> it is used. PHP permits this, but it can be less inutive to read
>
> Increment/Decrement Operators
>
> There shouldn't be any whitespace between the increment/decrement 
> operators, ad the variable being incremented/decremented. This can cause 
> difficulty reading code, especially where the arithmetic plus/minus 
> operators as used within the same expression.
>
> $a ++ + ++ $a
>
> I've not seen reference to either of these cases in the style PSRs
>
> -- 
> Mark Baker
>
>  _________
> |.  \     \-3
> |_J_/ PHP |
> || |  __  |
> || |m|  |m|
>
>  I LOVE PHP
>
>

-- 
You received this message because you are subscribed to the Google Groups "PHP 
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to php-fig+unsubscr...@googlegroups.com.
To post to this group, send email to php-fig@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/474c5e4f-9f56-4407-bffc-6132c439c5eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to