From 40a6ecb4cfb7d8690bdf6edc6756fb4c207ad878 Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Thu, 10 Sep 2026 22:24:29 -0400 Subject: [PATCH] refactor: simplify composer scripts by removing explicit vendor path Remove the redundant "@php vendor/bin/" prefix from script definitions. Composer automatically includes the vendor binary directory in the PATH, making the explicit path unnecessary and the config cleaner. --- composer.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 68e3d97..ea3cceb 100644 --- a/composer.json +++ b/composer.json @@ -59,12 +59,12 @@ "ext-pdo_sqlite": "*" }, "scripts": { - "test": "@php vendor/bin/alchemy test", - "alchemy": "@php vendor/bin/alchemy all", - "lint": "@php vendor/bin/alchemy lint", - "fmt": "@php vendor/bin/alchemy fmt", - "refactor": "@php vendor/bin/alchemy refactor", - "analyse": "@php vendor/bin/alchemy analyse", - "ci": "@php vendor/bin/alchemy ci" + "test": "alchemy test", + "alchemy": "alchemy all", + "lint": "alchemy lint", + "fmt": "alchemy fmt", + "refactor": "alchemy refactor", + "analyse": "alchemy analyse", + "ci": "alchemy ci" } }