From 466bda088b5ae4aabe9bbea8885395bc6870d878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tinjo=20Sch=C3=B6ni?= <32767367+tscni@users.noreply.github.com> Date: Tue, 21 Nov 2023 01:22:02 +0100 Subject: [PATCH] Fix Phar build failure The issue was likely caused by Composer 2.6.4 making the autoloader generation (more) reproducible (composer/composer#11663) We can either try to change the generated autoloader with an autoloader suffix, or just change the Psalm root directory for the smoke test. The latter approach seems easier. :P --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0c4d5026289..f33bb0fde8c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -50,7 +50,8 @@ jobs: command: bin/build-phar.sh - run: name: Smoke test Phar file - command: build/psalm.phar --version + # Change the root away from the project root to avoid conflicts with the Composer autoloader + command: build/psalm.phar --version --root build - store_artifacts: path: build/psalm.phar - run: