8000 fix: undefined index error in cache trait by bshaffer · Pull Request #617 · googleapis/google-auth-library-php · GitHub
[go: up one dir, main page]

Skip to content

fix: undefined index error in cache trait #617

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

Merged
merged 2 commits into from
Jul 8, 2025
Merged

Conversation

bshaffer
Copy link
Contributor

fixes #614

This issue was introduced when ImpersonatedServiceAccountCredentials was added - a warning is thrown when calling getCacheKey because the underlying CacheTrait expects a cacheConfig array with key prefix. This PR makes that prefix optional, and defaults it to an empty string.

@bshaffer bshaffer requested a review from a team as a code owner May 14, 2025 23:29
@bshaffer bshaffer merged commit ff7ece6 into main Jul 8, 2025
13 checks passed
@bshaffer bshaffer deleted the fix-index-warning branch July 8, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ImpersonatedServiceAccountCredentials: cache config is null
2 participants
0