Fix Zend\Code\Scanner\TokenArrayScanner #2759

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

prolic commented Oct 15, 2012

In PHP 5.3 it's possible to declare use statements even without declaring a namespace. This is very usefull, if you have non-namespaced PHP code (for example a ZF1 application), that uses a namespaced library (for example Doctrine 2).

Owner

weierophinney commented Oct 16, 2012

@prolic Good commit -- but can you please provide a test?

@ghost ghost assigned weierophinney Oct 16, 2012

Contributor

prolic commented Oct 17, 2012

I'll add tests soon.

prolic added some commits Oct 15, 2012

Fix Zend\Code\Scanner\TokenArrayScanner
In PHP 5.3 it's possible to declare use statements even without declaring a namespace. This is very usefull, if you have non-namespaced PHP code (for example a ZF1 application), that uses a namespaces library (for example Doctrine 2).
Contributor

prolic commented Oct 17, 2012

added test

weierophinney added a commit that referenced this pull request Oct 17, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment