From e9520206caa0a218d165832d6ae34494671d0977 Mon Sep 17 00:00:00 2001 From: Mark Dain Date: Sun, 16 Jan 2022 14:32:52 +0000 Subject: [PATCH] Exclude close/detach from OneZeroInteger mutation This commit excludes the close() and detach() functions from being mutated by OneZeroInteger. This is because the previous commit introduces a bug fix that triggers a false positive with Infection. See: https://github.com/ancarda/psr7-string-stream/pull/4 --- infection.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/infection.json b/infection.json index ebf70e9..efca4cb 100644 --- a/infection.json +++ b/infection.json @@ -9,6 +9,12 @@ "text": "var/infection.log" }, "mutators": { - "@default": true + "@default": true, + "OneZeroInteger": { + "ignore": [ + "Ancarda\\Psr7\\StringStream\\StringStream::close", + "Ancarda\\Psr7\\StringStream\\StringStream::detach" + ] + } } } -- 2.34.2