Made Silex compatible with Symfony 2.5