diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index 6f910f6..cd61262 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -63,6 +63,6 @@ jobs: - name: Run infection run: | - vendor/bin/roave-infection-static-analysis-plugin --threads=1 --ignore-msi-with-no-mutations --only-covered + vendor/bin/infection --threads=1 --ignore-msi-with-no-mutations --only-covered env: STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} diff --git a/composer.json b/composer.json index 4e1dc1a..0f4a02a 100644 --- a/composer.json +++ b/composer.json @@ -33,9 +33,9 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.95", + "infection/infection": "^0.26.6 || ^0.27.10 || ^0.29.8 || ^0.35.8", "phpunit/phpunit": "^9.6.35", "rector/rector": "^2.8.3", - "roave/infection-static-analysis-plugin": "^1.16", "shipmonk/composer-dependency-analyser": "^1.8", "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^4.30 || ^5.26.1 || ^6.16.1", diff --git a/docs/internals.md b/docs/internals.md index 9a72f59..e34dbba 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