From 26d6413c2aadd1c91143735e4f3b0e1555e51216 Mon Sep 17 00:00:00 2001 From: Danilin Evgenii Date: Wed, 27 Mar 2024 18:03:53 +0400 Subject: [PATCH] fix cs & infection --- composer.json | 4 ++-- infection.json5 | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 4ee53f0..e2a89fd 100644 --- a/composer.json +++ b/composer.json @@ -40,8 +40,8 @@ "infection --threads=6 --min-msi=80 --min-covered-msi=80 --log-verbosity=all --show-mutations --only-covered" ], "phpstan": "phpstan analyse --configuration=phpstan.neon --memory-limit=512M --no-progress --error-format=table --no-interaction --ansi", - "phpcs": ["phpcs --standard=phpcs.xml --cache=./.tmp/.phpcs.cache"], - "phpcbf": ["phpcbf --standard=phpcs.xml --cache=./.tmp/.phpcs.cache"], + "phpcs": ["mkdir -p .tmp && phpcs --standard=phpcs.xml --cache=./.tmp/.phpcs.cache"], + "phpcbf": ["mkdir -p .tmp && phpcbf --standard=phpcs.xml --cache=./.tmp/.phpcs.cache"], "phpmd": ["phpmd ./src text ./phpmd.xml"], "cs": ["@phpcs", "@phpmd"], "ci": [ diff --git a/infection.json5 b/infection.json5 index 49692fe..7dbe571 100644 --- a/infection.json5 +++ b/infection.json5 @@ -6,7 +6,7 @@ ], "excludes": [ "vendor", - "tests", + "tests" ] }, "timeout": 25, @@ -16,6 +16,7 @@ "summary": ".tmp/infection/summary.log", "perMutator": ".tmp/infection/per-mutator.md", "gitlab": ".tmp/infection/gitlab-code-quality.json", + "github": true, }, "tmpDir": ".tmp/infection/tmp", "phpUnit": { @@ -23,7 +24,7 @@ }, "mutators": { "@default": true, - "@function_signature": true, + "@function_signature": true }, - "testFramework": "phpunit", + "testFramework": "phpunit" }