From 951fa2292a42d8425cb8ba1366becb1b31a4e688 Mon Sep 17 00:00:00 2001 From: kkmuffme <11071985+kkmuffme@users.noreply.github.com> Date: Thu, 7 Dec 2023 17:20:37 +0100 Subject: [PATCH] fix composer scripts running with inconsistent php versions --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 7e41dd27eeb..d1678884c54 100644 --- a/composer.json +++ b/composer.json @@ -110,16 +110,16 @@ "psalter" ], "scripts": { - "cs": "phpcs -ps", - "cs-fix": "phpcbf -ps", - "lint": "parallel-lint ./src ./tests", + "cs": "@php phpcs -ps", + "cs-fix": "@php phpcbf -ps", + "lint": "@php parallel-lint ./src ./tests", "phpunit": [ "Composer\\Config::disableProcessTimeout", - "paratest --runner=WrapperRunner" + "@php paratest --runner=WrapperRunner" ], "phpunit-std": [ "Composer\\Config::disableProcessTimeout", - "phpunit" + "@php phpunit" ], "verify-callmap": "@php phpunit tests/Internal/Codebase/InternalCallMapHandlerTest.php", "psalm": "@php ./psalm",