Fix alpha compatibility for Symfony