You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge branch 'master' of github.com:fabpot/symfony
* 'master' of github.com:fabpot/symfony:
[Console] added __get() to Command to have shorter and more readable code in commands
[Console] fixed default message layout
[Routing] added requirements checking when generating a route
[Routing] changed matching to only check for method if it is available in the context
[Routing] fixed typo
if (isset($requirements[$token[3]]) && !preg_match('#^'.$requirements[$token[3]].'$#', $tparams[$token[3]]))
91
+
{
92
+
thrownew \InvalidArgumentException(sprintf('Parameter "%s" for route "%s" must match "%s" ("%s" given).', $token[3], $name, $requirements[$token[3]], $tparams[$token[3]]));
0 commit comments