From 0fd3207acc4beb23df3c4baf83ca5ca5c2b9fd60 Mon Sep 17 00:00:00 2001 From: "v.razuvaev" Date: Fri, 21 Aug 2026 20:00:41 +0300 Subject: [PATCH] Tighten the mutation gate to 95 Raised from 90, measured rather than guessed. A fresh Infection run on this package's current master, on PHP 8.4 -- the version the `Coverage & Mutation` job pins -- reports MSI 95.63 over 229 mutants, 10 of them escaping. The gate stood at 90, so the package could have lost a large share of its killed mutants and still gone green. The new value is `floor(100 * (killed - 1) / tested)`: one mutant of slack, so a single hard-to-kill line from an unrelated change does not turn the build red, then floored to a whole percent. No tag follows: `infection.json5` is `export-ignore`d, so the Composer dist is byte-identical and no consumer can observe this. --- infection.json5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infection.json5 b/infection.json5 index a8738ea..9b3acc6 100644 --- a/infection.json5 +++ b/infection.json5 @@ -10,7 +10,7 @@ // 160 of 168 mutants are killed; the remaining eight are equivalent // (report wording and ordering that no observable behaviour distinguishes), // so 100 is unreachable without ignores — which are forbidden here. - "minMsi": 90, + "minMsi": 95, "mutators": { "@default": true }