I write my projects using PSR-2 enforced by my IDE (PhpStorm) and have
phpcs constantly in the background too. While working today, I found
something odd that I would like to discuss in this list.
I wrote this:
But phpcs complains that according to PSR-2 I should use this:
I looked it up on the PHP-FIG website
indeed phpcs was right.
Is there a particular reason for this? Seems to me the group use
declarations are much more readable and shorter to write/read.
Or is this maybe something that was decided pre PHP7 when group use
declarations didn't exist?
Just curious to know...
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 post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.