QafooLabs/php-refactoring-browser — pull request #39 by pscheit (2013-10-25 19:58:50+00:00)
Title: Fix #32, change adapter for TokenReflectinoAnalysis

Unfortunately there was a bug/feature in the TokenReflectionAnalysis. When a file without a namespace token is given, the namespaceDeclarationLine is set to the line of the first class token. I found this very unintuitive and changed our adapter for this case to return the namespaceDeclarationLine as 0