From 3a81b1bc6a56f15cb345f422aeda4f268ea94ea5 Mon Sep 17 00:00:00 2001 From: jww-sh <50234564+jww-sh@users.noreply.github.com> Date: Fri, 31 Oct 2025 07:47:11 +0200 Subject: [PATCH 1/2] Fix log warnings for FORCE_UPDATE_URLS and UPDATE_URLS Fix log warnings for FORCE_UPDATE_URLS and UPDATE_URLS --- src/Step/Deploy/InstallUpdate/ConfigUpdate/Urls.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Step/Deploy/InstallUpdate/ConfigUpdate/Urls.php b/src/Step/Deploy/InstallUpdate/ConfigUpdate/Urls.php index 222673b002..39d4d516b4 100644 --- a/src/Step/Deploy/InstallUpdate/ConfigUpdate/Urls.php +++ b/src/Step/Deploy/InstallUpdate/ConfigUpdate/Urls.php @@ -81,13 +81,13 @@ public function execute() if ($this->environment->isMasterBranch()) { $this->logger->info( 'Skipping URL updates because we are deploying to a Production or Staging environment.' - . ' You can override this behavior by setting the FORCE_URL_UPDATES variable to true.' + . ' You can override this behavior by setting the FORCE_UPDATE_URLS variable to true.' ); return; } if (!$this->stageConfig->get(DeployInterface::VAR_UPDATE_URLS)) { - $this->logger->info('Skipping URL updates because the URL_UPDATES variable is set to false.'); + $this->logger->info('Skipping URL updates because the UPDATE_URLS variable is set to false.'); return; } } From cbde80d6d35fafc802ece714422ba3741138cd58 Mon Sep 17 00:00:00 2001 From: jww-sh <50234564+jww-sh@users.noreply.github.com> Date: Fri, 31 Oct 2025 07:50:07 +0200 Subject: [PATCH 2/2] Update UrlsTest.php fix this occurrence too. --- .../Unit/Step/Deploy/InstallUpdate/ConfigUpdate/UrlsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Test/Unit/Step/Deploy/InstallUpdate/ConfigUpdate/UrlsTest.php b/src/Test/Unit/Step/Deploy/InstallUpdate/ConfigUpdate/UrlsTest.php index 2848d4474e..7e5f9226ae 100644 --- a/src/Test/Unit/Step/Deploy/InstallUpdate/ConfigUpdate/UrlsTest.php +++ b/src/Test/Unit/Step/Deploy/InstallUpdate/ConfigUpdate/UrlsTest.php @@ -159,7 +159,7 @@ public function testExecuteSkippedUpdateUrlsIsFalse() }); $this->loggerMock->expects($this->once()) ->method('info') - ->with($this->stringContains('Skipping URL updates because the URL_UPDATES variable is set to false.')); + ->with($this->stringContains('Skipping URL updates because the UPDATE_URLS variable is set to false.')); $this->databaseUrlMock->expects($this->never()) ->method('execute'); $this->environmentUrlMock->expects($this->never())