The problem like mentionned in the ticket on github is a bug related to PHP
so there is noting to do in the Symfony2 side.
Consider moving away from your current php 5.4.x
to a newer version.
According to this comming you should be at least using >= php 5.4.11
See this commit