Support for Symfony version <3.4 has been dropped.
Requirement for sensio/framework-extra-bundle
has been bump to version 4 or 5
To upgrade you only need to change your symfony requirements if they didn't match and require version ^2.0
of the bundle
composer require willdurand/rest-extra-bundle:"^2.0"