erichard / SublimePHPCompanion

A Sublime Text plugin that provides cool stuff for PHP 5.3+ coding session.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Group Use Declarations with PHP7+ are broken

Y0lk opened this issue · comments

PHP7 introduced grouped use and it breaks with php companion since it doesn't support it. If you already have a use statement inside a group for a class and call find_use, you'll end up with a duplicate use.

Would be great to add support for these
See https://wiki.php.net/rfc/group_use_declarations