From 1d1c06220fbe781d037bf397d7b44c676b77bf7f Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 9 May 2024 23:48:27 +0200 Subject: [PATCH] Add infection config --- .gitignore | 2 +- composer.json | 2 +- infection.json5 | 19 +++++++++++++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 infection.json5 diff --git a/.gitignore b/.gitignore index b193144..50f923c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -infection* +infection/ coverage *.mp4 .vscode diff --git a/composer.json b/composer.json index ad1d9c3..8566832 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "danog/tgbot-dialog-id", - "description": "A library to work with Telegram bot API dialog IDs", + "description": "A library to work with Telegram bot API dialog IDs.", "type": "library", "autoload": { "psr-4": { diff --git a/infection.json5 b/infection.json5 new file mode 100644 index 0000000..4439301 --- /dev/null +++ b/infection.json5 @@ -0,0 +1,19 @@ +{ + "$schema": "vendor/infection/infection/resources/schema.json", + "source": { + "directories": [ + "src" + ] + }, + "timeout": 10, + "logs": { + "text": "infection/infection.log", + "html": "infection/infection.html", + "summary": "infection/summary.log", + "perMutator": "infection/per-mutator.md" + }, + "tmpDir": ".infection-cache", + "mutators": { + "@default": true + } +}