diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index 856864d..0ce1693 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: os: ['ubuntu-latest'] - php: ['8.4'] + php: ['8.5'] services: rabbitmq: @@ -58,7 +58,7 @@ 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 env: STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} RABBITMQ_HOST: 127.0.0.1 diff --git a/Makefile b/Makefile index 715fa38..b8e4751 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ sh: ## Enter the container with the application mutation-test: ## Run mutation tests. Params: {{ v=81 }} docker compose -f tests/docker-compose.yml build --pull php$(v) - docker compose -f tests/docker-compose.yml run php$(v) php -dpcov.enabled=1 -dpcov.directory=. vendor/bin/roave-infection-static-analysis-plugin -j2 --ignore-msi-with-no-mutations --only-covered + docker compose -f tests/docker-compose.yml run php$(v) php -dpcov.enabled=1 -dpcov.directory=. vendor/bin/infection -j2 --ignore-msi-with-no-mutations --only-covered make down coverage: ## Run code coverage. Params: {{ v=81 }} diff --git a/composer.json b/composer.json index aa7c6c3..07087fa 100644 --- a/composer.json +++ b/composer.json @@ -30,13 +30,12 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.95", - "infection/infection": "^0.27.8||^0.29.0", + "infection/infection": "^0.29.8 || ^0.35.8", "phpbench/phpbench": "^1.4", "phpunit/phpunit": "^9.5", "psr/container": "^2.0", "psr/log": "^3.0", "rector/rector": "^2.5.5", - "roave/infection-static-analysis-plugin": "^1.16", "shipmonk/composer-dependency-analyser": "^1.8", "spatie/phpunit-watcher": "^1.23", "symfony/console": "^6.0",