git://github.com/blt04/symfony.git ticket-8924
http://github.com/blt04/symfony/tree/ticket-8924

When booting the Symfony kernel with a populated class cache you get a PHP fatal error: "Cannot redeclare class Symfony\Components\Routing\RouterInterface".

To repeat, try clearing your cache, then running "php console" twice. The first run will execute as expected, the second will cause the fatal error.

It appears this is because KernelExtension trys to load Router before RouterInterface. Since Router implements RouterInterface, RouterInterface is autoloaded. Then when KernelExtension trys to load RouterInterface, it throws the redeclare fatal error. This patch switches the load order so that RouterInterface is loaded before Router.

Brandon

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to