Skip to content

Commit e409101

Browse files
authored
fix: remove --only-covered for Infection, it's now the default (#208)
1 parent a239385 commit e409101

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/PHP/common.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ test/phpunit-coverage: | ${HOME}/.composer var/phpqa composer.lock
6565
$(call block_end)
6666
test/infection: test/phpunit-coverage
6767
$(call block_start,$@)
68-
${PHPQA_DOCKER_COMMAND} infection run --verbose --show-mutations --no-interaction --only-covered --only-covering-test-cases --coverage var/phpqa/phpunit/ --threads max
68+
${PHPQA_DOCKER_COMMAND} infection run --verbose --show-mutations --no-interaction --only-covering-test-cases --coverage var/phpqa/phpunit/ --threads max
6969
$(call block_end)
7070

7171
${HOME}/.composer:

tests/functional/PHP/PhpTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ private static function paths(?array $env): array
187187

188188
'test: unit' => [
189189
self::generatePhpqaExecutionPath('php -d pcov.enabled=1 vendor/bin/phpunit --coverage-text --log-junit=var/phpqa/phpunit/junit.xml --coverage-xml var/phpqa/phpunit/coverage-xml/', phpVersion: $phpVersion, dockerImage: $phpqaDockerImage, env: $dockerEnv),
190-
self::generatePhpqaExecutionPath('infection run --verbose --show-mutations --no-interaction --only-covered --only-covering-test-cases --coverage var/phpqa/phpunit/ --threads max', phpVersion: $phpVersion, dockerImage: $phpqaDockerImage, env: $dockerEnv),
190+
self::generatePhpqaExecutionPath('infection run --verbose --show-mutations --no-interaction --only-covering-test-cases --coverage var/phpqa/phpunit/ --threads max', phpVersion: $phpVersion, dockerImage: $phpqaDockerImage, env: $dockerEnv),
191191
],
192192
'test: functional app' => [
193193
self::generateDockerComposeAppExecExecutionPath('vendor/bin/behat --colors --strict', 'test'),

0 commit comments

Comments
 (0)