Closed Fusion86 closed 6 years ago
Is here any news?
This version works fine if you only use it in a 'Login with Discord' kind of way. I haven't tested the other functions but I believe at least some of them are broken.
This PR would break the code, see the changelog for 2.0 version:
* Rename getResponse() to getParsedResponse()
* Add getResponse() method that returns the unparsed PSR-7 Response instance
And this is the thing I guess: https://github.com/teamreflex/oauth2-discord/blob/master/src/Discord/Discord.php#L127
Currently uses
league/oauth2-client
version 1.3 which in turn usesircmaxell/random-lib
version 1.1 which uses the mcrypt extension which is deprecated in PHP 7.1Updating
league/oauth2-client
to version 2.2.1 solves this issue because it doesn't useircmaxell/random-lib
anymore (but a different package which doesn't use mcrypt).