The change is part of
https://github.com/php-fig/fig-standards/commit/50a3d046baa5143546dc95bf5930d3523f56be6a,
made after discussion in a pull request:
https://github.com/php-fig/fig-standards/pull/730#discussion_r57308607 and
getting some stats on current state of things.
It's about blank like right after <?php:
<?phpdeclare(strict_types=1);namespace Vendor\Package;use
Vendor\Package\{ClassA as A, ClassB, ClassC as C};use
Vendor\Package\Namespace\ClassD as D;use function Vendor\Package\{functionA,
functionB, functionC};use const Vendor\Package\{ConstantA, ConstantB,
ConstantC};class Foo extends Bar implements FooInterface{
There are three options:
- Enforce blank line. It was like that initially. Style matches Laravel,
Symfony and Composer.
- Enforce no blank line. Style matches Yii, Aura, Zend, Slim, Propel, PPI,
Doctrine and CakePHP.
- Do not enforce anything. That's what it is after commit.
Since both projects enforcing and not enforcing blank line
<https://github.com/php-fig/fig-standards/pull/730#discussion_r57308607>
are major, preliminary decision is not to enforce any particular style i.e.
both are valid.
It's definitely preliminary and could be decided otherwise based on the
survey to be conducted. Still, it's good to discuss it prior to survey so
I'd like your opinions voiced.
Thanks!
--
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/9178bfbe-56ae-4223-bfed-06b1b08ccd71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.