-
Notifications
You must be signed in to change notification settings - Fork 438
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
Trigger notice if keyfile is missing a project ID #803
Conversation
cc @tmatsuo |
I think this fell off the map because CI wasn't passing. Is it something we can get patched up and rebased with the new repo structure? |
There were some issues with getting the tests passing; it was a bit more involved than simply updating a unit test. I'll need to circle back and reacquaint myself with it again, then I can give a firmer answer. |
@jdpedrie do you think you'll have a chance to look at this again this week? |
I'll reacquaint myself with it! |
@dwsupplee this is ready for review. @tmatsuo @bshaffer I'd appreciate input on potential edge cases with various types of key files where this change might pose an issue. Should I add a toggle to silence the message? |
Core/src/ClientTrait.php
Outdated
|
||
trigger_error( | ||
'A keyfile was given, but it does not contain a project ID. ' . | ||
'This can indicate an old and obsolete keyfile, in which case you should create a new one.', |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
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.
Looks good! Let's wait for a sound off from Takashi or Brent before merging.
Closes #171.