Require symfony version depending on env