Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

Fixes namespace detection in a file with mutileplace namespaces #21

Merged
merged 2 commits into from
Nov 8, 2011

Conversation

edorian
Copy link
Sponsor Collaborator

@edorian edorian commented Nov 8, 2011

If a file had more than one namespace it would always detect the upper most namespace in the file.

The test i created for that was broken too :)

By introducing the "break" in PHP/Token.php that gets fixed.

sebastianbergmann added a commit that referenced this pull request Nov 8, 2011
@sebastianbergmann sebastianbergmann merged commit c2e041e into sebastianbergmann:master Nov 8, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants