Fix deprecated warning in symfony 2.2
Merge pull request #120 from Zeichen32/sf2.2DeprecatedFix

Fix deprecated warning in symfony 2.2