diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index 7b6e08d..b5bef08 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -22,12 +22,13 @@ concurrency: jobs: mutation: - uses: yiisoft/actions/.github/workflows/roave-infection.yml@master + uses: yiisoft/actions/.github/workflows/infection.yml@master with: os: >- ['ubuntu-latest'] php: >- ['8.5'] - min-covered-msi: 100 + min-covered-msi: 91 + infection-args: --ignore-msi-with-no-mutations secrets: STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} diff --git a/composer.json b/composer.json index f33ca07..6f9a94f 100644 --- a/composer.json +++ b/composer.json @@ -37,9 +37,9 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.92.5", + "infection/infection": "^0.29.8 || ^0.35.8", "phpunit/phpunit": "^10.5", "rector/rector": "^2.1.5", - "roave/infection-static-analysis-plugin": "^1.35", "shipmonk/composer-dependency-analyser": "^1.8", "spatie/phpunit-watcher": "^1.24", "vimeo/psalm": "^5.26.1 || ^6.14.1", diff --git a/docs/internals.md b/docs/internals.md index b77907c..f486439 100644 --- a/docs/internals.md +++ b/docs/internals.md @@ -10,11 +10,10 @@ The package is tested with [PHPUnit](https://phpunit.de/). To run tests: ## Mutation testing -The package tests are checked with [Infection](https://infection.github.io/) mutation framework with -[Infection Static Analysis Plugin](https://github.com/Roave/infection-static-analysis-plugin). To run it: +The package tests are checked with [Infection](https://infection.github.io/) mutation framework. To run it: ```shell -./vendor/bin/roave-infection-static-analysis-plugin +./vendor/bin/infection ``` ## Static analysis