diff --git a/.github/jobs/fix_pipelinecomponents_image.sh b/.github/jobs/fix_pipelinecomponents_image.sh index 078dba6caf..8723b86f1b 100755 --- a/.github/jobs/fix_pipelinecomponents_image.sh +++ b/.github/jobs/fix_pipelinecomponents_image.sh @@ -12,7 +12,13 @@ phpcs --config-set installed_paths /app/vendor/phpcompatibility/php-compatibilit # Current released version does not know enums echo "Upgrade the compatibility for PHP versions" 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.11.3"/"squizlabs\/php_codesniffer": "^3.13.0"/g' /app/composer.json +sed -i 's/"squizlabs\/php_codesniffer": "3.13.2"/"squizlabs\/php_codesniffer": "^3.13.3"/g' /app/composer.json +echo "After /app/composer.json:" +cat /app/composer.json + cd /app; composer update cd $mydir