~ancarda/psr7-string-stream

e9520206caa0a218d165832d6ae34494671d0977 — Mark Dain 3 months ago f0b0f83
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
1 files changed, 7 insertions(+), 1 deletions(-)

M infection.json
M infection.json => infection.json +7 -1
@@ 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"
            ]
        }
    }
}