Re: [PHP-DEV] Trying to fix "use" language inconsistencies

2016-04-18 Thread guilhermebla...@gmail.com
You missed what I said. You can do multiple single class/function/constant in a single statement, but you cannot do multiple group use in a single statement. This: use Foo\Bar, Foo\Baz\{Qux, Corge}; Regards, On Fri, Apr 15, 2016 at 9:38 PM, Lin Yo-An wrote: > I

Re: [PHP-DEV] Trying to fix "use" language inconsistencies

2016-04-15 Thread Lin Yo-An
I thought there was one already? https://wiki.php.net/rfc/group_use_declarations On Sat, Apr 16, 2016 at 9:01 AM, guilhermebla...@gmail.com < guilhermebla...@gmail.com> wrote: > Hi internals, > > > It all started with a PR over doctrine/annotations ( >

[PHP-DEV] Trying to fix "use" language inconsistencies

2016-04-15 Thread guilhermebla...@gmail.com
Hi internals, It all started with a PR over doctrine/annotations ( https://github.com/doctrine/annotations/pull/69), where a contributor decided to propose supporting group use support. The issue starts with this, which it is perfectly supported: use Foo\Bar, Foo\Woo; While multiple group