sync with latest FriendsOfSymfony/oauth2-php