From 4db7732511585a121f15f2da5a8ede85969ed885 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Tue, 24 Nov 2026 22:34:59 +0900 Subject: [PATCH] Ignore only the PHP upper bound in composer bin hooks --ignore-platform-req=php also ignored the lower bound, so vendor-bin tools resolved to versions that need a newer PHP than the one running. php+ keeps the lower bound and still allows newer PHP versions. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 3b04943..23bb20f 100644 --- a/composer.json +++ b/composer.json @@ -66,8 +66,8 @@ "@pcov", "@metrics" ], - "post-install-cmd": "@composer bin all install --ansi --ignore-platform-req=php", - "post-update-cmd": "@composer bin all update --ansi --ignore-platform-req=php" + "post-install-cmd": "@composer bin all install --ansi --ignore-platform-req=php+", + "post-update-cmd": "@composer bin all update --ansi --ignore-platform-req=php+" }, "scripts-descriptions": { "test": "Run unit tests",