Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No space after opening parenthesis is probihited #431

Closed
jmcbee opened this issue Aug 29, 2015 · 3 comments
Closed

No space after opening parenthesis is probihited #431

jmcbee opened this issue Aug 29, 2015 · 3 comments
Milestone

Comments

@jmcbee
Copy link

jmcbee commented Aug 29, 2015

I'm not sure why it's happening but it's showing this error on the use statements:

<?php

namespace Foo;

use Foo\Admin\Admin;
use Foo\Admin\User;
use Foo\Admin\Work;
@GaryJones
Copy link
Member

There was a recent commit that looked at use for closures, so it looks like it's catching this as well. cc @JDGrimes

@jmcbee
Copy link
Author

jmcbee commented Aug 29, 2015

I'm using the latest of the develop branch :D haha May I know which commit was that so I'll just roll back to the commit before that to prevent this temporarily?

@JDGrimes JDGrimes added this to the 0.7.0 milestone Aug 29, 2015
@JDGrimes JDGrimes self-assigned this Aug 29, 2015
@JDGrimes
Copy link
Contributor

The offending commit is 7d19272. I'll try to fix this later today.

JDGrimes added a commit that referenced this issue Aug 29, 2015
The `T_USE` token is also used to import traits to classes, and to
import classes into namespaces.

Fixes #431
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants