Open ShawnCZek opened 1 year ago
Need to think about this one.
Just my two cents: if you decide to release a new major version because of this, it would be worth dropping the support of PHP 7.x versions. They are barely used, and their usage should be discouraged.
The default scopes were flawed because many of them are not vital for providing the basic user interface:
Whether the email scope should be included as well is for discussion. Nevertheless, since
DiscordResourceOwner
provides a getter for the email address, I have included it, too.This is a breaking change because if the developer does not specify the scopes, their existing authorization grants will become invalid. As a result of this, existing users will have to reauthorize (due to the change of scopes). On the other hand, starting with this library will be easier for new developers as, most of the time, different scopes are unnecessary.