arnaud-lb/symfony — pull request #3 by fabpot (2012-04-25 03:08:45+00:00)
Title: Hostname pattern for routes (symfony/symfony#3378)

While reviewing your PR, I've made some changes and fixes. Have a look at each individual commit as I've also fixed some CS issues that makes the whole diff more difficult to read.

Here are what I've done so far:

* fixed indentation of dumped collections by the PHP matcher dumper
* added support for the XML loader
* fixed Route annotation for hostname (should be hostname_pattern instead of hostnamePattern)
* added hostname support in UrlMatcher
* fixed route generation with a hostname pattern when the hostname is the same as the current one (no need to generate an absolute URL in this case)
* added some more unit tests