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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/php-fig/3aea5c82-ffb6-a768-5c39-2e13d6561354%40lange.demon.co.uk.
For more options, visit https://groups.google.com/d/optout.