From 58276f2bd1688756b5ed7dc21960db7f52774c5e Mon Sep 17 00:00:00 2001 From: 8ig8 Date: Mon, 11 Mar 2024 11:41:05 -0400 Subject: [PATCH] Update scripts.md (#11880) Updates the 'Setting environment variables' example to call Composer using `@composer` in order to automatically resolve to whatever composer.phar is currently being used as detailed in the previous section on this same page. --- doc/articles/scripts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/articles/scripts.md b/doc/articles/scripts.md index ec4004ebc..1f31eaeb4 100644 --- a/doc/articles/scripts.md +++ b/doc/articles/scripts.md @@ -419,7 +419,7 @@ To set an environment variable in a cross-platform way, you can use `@putenv`: "scripts": { "install-phpstan": [ "@putenv COMPOSER=phpstan-composer.json", - "composer install --prefer-dist" + "@composer install --prefer-dist" ] } }