Fork me on GitHub
a Sensio Labs Product

Insomnia (v3.50.0) edition

Rule group_import

There MUST be group use for the same namespaces.

Examples

Example #1

--- Original
+++ New
 <?php
-use Foo\Bar;
-use Foo\Baz;
+use Foo\{Bar, Baz};

References

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.