-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Error: Call to undefined method Google\Client::isUsingJwtWithScope() #2162
Comments
[2021-12-02 00:59:21] production.ERROR: Call to undefined method Google\Client::isUsingJwtWithScope() {"userId":"d25d0506-8a96-3675-99b1-92dd4843dc06","exception":"[object] (Error(code: 0): Call to undefined method Google\Client::isUsingJwtWithScope() at /vendor/google/apiclient/src/Client.php:1258) Same problem here. |
I also have this issue. I'm also seeing |
Call to undefined method Google\Client::isUsingJwtWithScope(); Running into the same problem. Any fix for this? |
You can just revert to v2.11.0 until it's fixed. |
Fixed in v2.12.1 |
Thanks for fixing this quickly! Will there be any measures taken to prevent this kind of bugs? Even the most simple kind of static analysis would have found this. |
I agree, and am also surprised it slipped through, since we have an extensive testing suite... there must be something unexpected happening with regards to this error, unfortunately. |
Can I help with implementing static analysis, like phpstan? |
@stephanvierkant If you wanted to submit a Pr for that, that would be super great! |
#2153 created an issue because
\Google\Client
doesn't have a method calledisUsingJwtWithScope
:google-api-php-client/src/Client.php
Line 1258 in 8865cab
Ping @bshaffer
Maybe some kind of static analysis should be added to the test suite?
The text was updated successfully, but these errors were encountered: