This only works from Symfony 2.4 onward, shouldn't we update composer.json too?