-
-
Notifications
You must be signed in to change notification settings - Fork 597
refs #955: deprecate Client::AUTH_* constants and replace them with AuthMethod::AUTH_* const #1036
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refs #955: deprecate Client::AUTH_* constants and replace them with AuthMethod::AUTH_* const #1036
Conversation
… with AuthMethod::AUTH_* const
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ipalo, thanks for the PR! I've left a few comments on things that should be updated!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last minor change that I missed in my previous review, otherwise the PR is good to go!
lib/Github/AuthMethod.php
Outdated
* | ||
* @var string | ||
*/ | ||
const CLIENT_ID = 'client_id_header'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the public
const visibility to the constants in this class.
const CLIENT_ID = 'client_id_header'; | |
public const CLIENT_ID = 'client_id_header'; |
Thanks @ipalo! And congrats on your first contribution! 🎉 |
@ipalo this should be ok already as the repository has the "hacktoberfest" topic. But I've added the accepted label to be sure. |
Contribution for #955