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 + } +}