From a897b0bf651173b420e91d9fafb46b89f0328a83 Mon Sep 17 00:00:00 2001 From: Hector Mendoza Jacobo Date: Tue, 26 Nov 2024 21:27:50 +0000 Subject: [PATCH] Change the debug flag to GOOGLE_SDK_PHP_LOGGING --- src/ApplicationDefaultCredentials.php | 2 +- tests/ApplicationDefaultCredentialsTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ApplicationDefaultCredentials.php b/src/ApplicationDefaultCredentials.php index f587a83fc..b94923936 100644 --- a/src/ApplicationDefaultCredentials.php +++ b/src/ApplicationDefaultCredentials.php @@ -72,7 +72,7 @@ */ class ApplicationDefaultCredentials { - private const SDK_DEBUG_FLAG = 'GOOGLE_SDK_DEBUG_LOGGING'; + private const SDK_DEBUG_FLAG = 'GOOGLE_SDK_PHP_LOGGING'; /** * @deprecated diff --git a/tests/ApplicationDefaultCredentialsTest.php b/tests/ApplicationDefaultCredentialsTest.php index 6d6851f9a..5c1936b53 100644 --- a/tests/ApplicationDefaultCredentialsTest.php +++ b/tests/ApplicationDefaultCredentialsTest.php @@ -49,7 +49,7 @@ class ApplicationDefaultCredentialsTest extends TestCase private $targetAudience = 'a target audience'; private $quotaProject = 'a-quota-project'; private $originalServiceAccount; - private const SDK_DEBUG_FLAG = 'GOOGLE_SDK_DEBUG_LOGGING'; + private const SDK_DEBUG_FLAG = 'GOOGLE_SDK_PHP_LOGGING'; public function testGetCredentialsFailsIfEnvSpecifiesNonExistentFile() {