Add infection config

This commit is contained in:
Daniil Gentili 2024-05-09 23:48:27 +02:00
parent 82f733c17b
commit 1d1c06220f
3 changed files with 21 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
infection* infection/
coverage coverage
*.mp4 *.mp4
.vscode .vscode

View File

@ -1,6 +1,6 @@
{ {
"name": "danog/tgbot-dialog-id", "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", "type": "library",
"autoload": { "autoload": {
"psr-4": { "psr-4": {

19
infection.json5 Normal file
View File

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