From fd96af1f0d1f3c9d3602c74fe6d96d05293f9241 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Tue, 26 Sep 2023 07:51:16 +0200 Subject: [PATCH] Updated composer lock file after running composer normalize Sometimes the normalize changes the part composer hashes for the lockfile hash and results in failures on the CI which expect the lockfile to be update to date with composer.json. By updating the lockfile after running normalize that doesn't happen anymore. --- composer.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index ecf766e..b046870 100644 --- a/composer.json +++ b/composer.json @@ -51,10 +51,12 @@ }, "scripts": { "post-install-cmd": [ - "composer normalize" + "composer normalize", + "composer update --lock --no-scripts" ], "post-update-cmd": [ - "composer normalize" + "composer normalize", + "composer update --lock --no-scripts" ] } }