Fixed travis build due to symfony#12710