From 57a741fb1a9db77992f9b361aa8dec16f40ac27f Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Wed, 29 May 2024 11:13:04 -0700 Subject: [PATCH] CLI-1337: Ignore mutations for logger (#1744) --- infection.json5 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/infection.json5 b/infection.json5 index fcc24089f..6c8aec239 100644 --- a/infection.json5 +++ b/infection.json5 @@ -12,7 +12,10 @@ "html": "var/infection.html" }, "mutators": { - "@default": true + "@default": true, + "global-ignoreSourceCodeByRegex": [ + "\\$this->logger.*" + ] }, "timeout": 30, "testFrameworkOptions": "--exclude-group=serial"