diff --git a/composer.json b/composer.json index e144172a8..7fde08b53 100644 --- a/composer.json +++ b/composer.json @@ -22,11 +22,11 @@ "psalm": "psalm --no-cache --threads=$(nproc)", "test:unit": "vendor/bin/phpunit --color --fail-on-warning -c tests/phpunit.xml", "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" ] },