Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Fix Zend\Code\Scanner\TokenArrayScanner #2759

Closed
wants to merge 2 commits into from

Conversation

prolic
Copy link
Contributor

@prolic 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).

@weierophinney
Copy link
Member

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

@ghost ghost assigned weierophinney Oct 16, 2012
@prolic
Copy link
Contributor Author

prolic commented Oct 17, 2012

I'll add tests soon.

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).
@prolic
Copy link
Contributor Author

prolic commented Oct 17, 2012

added test

weierophinney added a commit that referenced this pull request Oct 17, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants