vim-php-namespace icon indicating copy to clipboard operation
vim-php-namespace copied to clipboard

PHP7 group namespace declaration not sorted correctly

Open Casinelli opened this issue 7 years ago • 1 comments

This:

use App\Mailers\AdminMailer;
use App\Services\{
    CityRequestService,
    PopupEmailCreator,
    CityUpdatesSubscriber,
    EmailListSubscriber
};
use Redirect;
use Input;
use URL;

Is wrongly sorted as:

    CityRequestService,
    CityUpdatesSubscriber,
    EmailListSubscriber
    PopupEmailCreator,
use App\Mailers\AdminMailer;
use App\Services\{
use Input;
use Redirect;
use URL;
};

Casinelli avatar Jan 24 '17 03:01 Casinelli

The plugin doesn't support group declarations currently.

Contributions are welcomed :)

arnaud-lb avatar Feb 04 '17 11:02 arnaud-lb