From d436cc7b0a923101a370cce419ed358472497218 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Wed, 28 Jan 2026 13:57:37 +0100 Subject: [PATCH] fix: only run composer bin scripts in dev mode Signed-off-by: Simon L. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 972e18c88..f79175dcb 100644 --- a/composer.json +++ b/composer.json @@ -29,11 +29,11 @@ "test:unit": "vendor/bin/phpunit --color --fail-on-warning -c tests/phpunit.xml", "rector": "rector && composer cs:fix", "post-install-cmd": [ - "@composer bin all install --ansi", + "[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --ansi", "composer dump-autoload" ], "post-update-cmd": [ - "@composer bin all update --ansi", + "[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --ansi", "composer dump-autoload" ] },