From 4e9554c133d6a2a1055b6fe8daa7182cd619ac88 Mon Sep 17 00:00:00 2001 From: Michael Vasseur <14887731+vmcj@users.noreply.github.com> Date: Mon, 1 Dec 2025 10:25:59 +0100 Subject: [PATCH 1/4] Temporary ugly fix --- .github/jobs/fix_pipelinecomponents_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/jobs/fix_pipelinecomponents_image.sh b/.github/jobs/fix_pipelinecomponents_image.sh index 8723b86f1b..9ae94598c7 100755 --- a/.github/jobs/fix_pipelinecomponents_image.sh +++ b/.github/jobs/fix_pipelinecomponents_image.sh @@ -16,7 +16,7 @@ mydir=$(pwd) echo "Before /app/composer.json:" cat /app/composer.json sed -i 's/"phpcompatibility\/php-compatibility": "9.3.5"/"phpcompatibility\/php-compatibility": "dev-develop"/g' /app/composer.json -sed -i 's/"squizlabs\/php_codesniffer": "3.13.2"/"squizlabs\/php_codesniffer": "^3.13.3"/g' /app/composer.json +sed -i 's/"squizlabs\/php_codesniffer": "3.13.2"/"squizlabs\/php_codesniffer": "^4.0.1"/g' /app/composer.json echo "After /app/composer.json:" cat /app/composer.json From ba1b426cee535b7699e88a5072474aaf2462b6f7 Mon Sep 17 00:00:00 2001 From: Michael Vasseur <14887731+vmcj@users.noreply.github.com> Date: Mon, 1 Dec 2025 10:27:29 +0100 Subject: [PATCH 2/4] Let the container fix itself --- .github/jobs/fix_pipelinecomponents_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/jobs/fix_pipelinecomponents_image.sh b/.github/jobs/fix_pipelinecomponents_image.sh index 9ae94598c7..8be1db9ca5 100755 --- a/.github/jobs/fix_pipelinecomponents_image.sh +++ b/.github/jobs/fix_pipelinecomponents_image.sh @@ -20,5 +20,5 @@ sed -i 's/"squizlabs\/php_codesniffer": "3.13.2"/"squizlabs\/php_codesniffer": " echo "After /app/composer.json:" cat /app/composer.json -cd /app; composer update +cd /app; composer -W update cd $mydir From c3c6d4799d64464b3382186f74a2880c7e305f9c Mon Sep 17 00:00:00 2001 From: Michael Vasseur <14887731+vmcj@users.noreply.github.com> Date: Mon, 1 Dec 2025 10:34:32 +0100 Subject: [PATCH 3/4] And disable the problematic replacement --- .github/jobs/fix_pipelinecomponents_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/jobs/fix_pipelinecomponents_image.sh b/.github/jobs/fix_pipelinecomponents_image.sh index 8be1db9ca5..33567ff5da 100755 --- a/.github/jobs/fix_pipelinecomponents_image.sh +++ b/.github/jobs/fix_pipelinecomponents_image.sh @@ -16,7 +16,7 @@ mydir=$(pwd) echo "Before /app/composer.json:" cat /app/composer.json sed -i 's/"phpcompatibility\/php-compatibility": "9.3.5"/"phpcompatibility\/php-compatibility": "dev-develop"/g' /app/composer.json -sed -i 's/"squizlabs\/php_codesniffer": "3.13.2"/"squizlabs\/php_codesniffer": "^4.0.1"/g' /app/composer.json +#sed -i 's/"squizlabs\/php_codesniffer": "3.13.2"/"squizlabs\/php_codesniffer": "^4.0.1"/g' /app/composer.json echo "After /app/composer.json:" cat /app/composer.json From 8fbb6ea10a5893548496c7e09b886e65becb7cfa Mon Sep 17 00:00:00 2001 From: Michael Vasseur <14887731+vmcj@users.noreply.github.com> Date: Mon, 1 Dec 2025 10:44:26 +0100 Subject: [PATCH 4/4] Explain the reasoning --- .github/jobs/fix_pipelinecomponents_image.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/jobs/fix_pipelinecomponents_image.sh b/.github/jobs/fix_pipelinecomponents_image.sh index 33567ff5da..5be5274377 100755 --- a/.github/jobs/fix_pipelinecomponents_image.sh +++ b/.github/jobs/fix_pipelinecomponents_image.sh @@ -20,5 +20,6 @@ sed -i 's/"phpcompatibility\/php-compatibility": "9.3.5"/"phpcompatibility\/php- echo "After /app/composer.json:" cat /app/composer.json -cd /app; composer -W update +# We have 1 tool we need, so we can break whatever we want here. +cd /app; composer -W upgrade cd $mydir