sebastianbergmann/php-token-stream — pull request #21 by edorian (2011-11-08 18:05:49+00:00)
Title: Fixes namespace detection in a file with mutileplace namespaces

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 and it might also resolve #20 but I'm not sure.

It fixes a bug and a broken test so please merge :)