symfony/symfony — pull request #5747 by bamarni (2012-10-14 11:38:01+00:00)
Title: [ClassLoader] fixed bracketed/unbracketed namespaces mix

fixes symfony/symfony-standard#430

This error occurs when loading classes in some namespace with classes in the global namespace and php is compiled without the tokenizer.

This adds brackets around namespace classes in this case.

Tests don't pass when the tokenizer is disabled, because of small diffs (extra \n in some palces), not sure if it's a big deal, anyway they were already failing with this php config.