From 254b81e84543bee600f0fbe0d84b8a127d4107e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Sun, 10 Jul 2022 12:35:44 +0200 Subject: [PATCH] Add infection (#110) --- .gitignore | 13 ++++++++----- composer.json | 4 ++-- infection.json | 14 ++++++++++++++ 3 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 infection.json diff --git a/.gitignore b/.gitignore index 1919fa1..102d2c3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,8 @@ -composer.lock -vendor -vendor-bin/*/vendor -.phpunit.result.cache -.php-cs-fixer.cache +/composer.lock +/dist/ +/tools/ +/vendor/ +/vendor-bin/*/vendor/ +/.phive/ +/.phpunit.result.cache +/.php-cs-fixer.cache diff --git a/composer.json b/composer.json index 57d84f8..6228052 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,6 @@ "require-dev": { "ext-json": "*", "composer/composer": "^2.0", - "ergebnis/composer-normalize": "~2.9 || ^2.28", "php-cs-fixer/shim": "^3.8", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^1.8", @@ -41,7 +40,8 @@ "config": { "allow-plugins": { "phpstan/extension-installer": true, - "ergebnis/composer-normalize": true + "ergebnis/composer-normalize": true, + "infection/extension-installer": true }, "sort-packages": true }, diff --git a/infection.json b/infection.json new file mode 100644 index 0000000..4db6121 --- /dev/null +++ b/infection.json @@ -0,0 +1,14 @@ +{ + "$schema": "vendor/infection/infection/resources/schema.json", + "source": { + "directories": [ + "src" + ] + }, + "logs": { + "text": "dist/infection.txt" + }, + "mutators": { + "@default": true + } +}