fix for legacy symfony 2.0 projects
Merge pull request #54 from Kunstmaan/fix-symfony-2.0

fix for legacy symfony 2.0 projects