Skip to content

Commit

Permalink
fix: remove --verbose for PHPUnit, compat with v10 (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarlovi authored Jun 27, 2023
1 parent 389504f commit e25b4c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/PHP/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ analyze/psalm: | ${HOME}/.composer var/phpqa composer.lock

test/phpunit: | ${HOME}/.composer var/phpqa composer.lock
$(call block_start,$@)
${PHPQA_DOCKER_COMMAND} vendor/bin/phpunit --verbose
${PHPQA_DOCKER_COMMAND} vendor/bin/phpunit
$(call block_end)
test/phpunit-coverage: | ${HOME}/.composer var/phpqa composer.lock
$(call block_start,$@)
${PHPQA_DOCKER_COMMAND} php -d pcov.enabled=1 vendor/bin/phpunit --verbose --coverage-text --log-junit=var/phpqa/phpunit/junit.xml --coverage-xml var/phpqa/phpunit/coverage-xml/
${PHPQA_DOCKER_COMMAND} php -d pcov.enabled=1 vendor/bin/phpunit --coverage-text --log-junit=var/phpqa/phpunit/junit.xml --coverage-xml var/phpqa/phpunit/coverage-xml/
$(call block_end)
test/infection: test/phpunit-coverage
$(call block_start,$@)
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/PHP/PhpTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private function paths(?array $env): array
],

'test: unit' => [
$this->generatePhpqaExecutionPath('php -d pcov.enabled=1 vendor/bin/phpunit --verbose --coverage-text --log-junit=var/phpqa/phpunit/junit.xml --coverage-xml var/phpqa/phpunit/coverage-xml/', phpVersion: $phpVersion, dockerImage: $phpqaDockerImage),
$this->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),
$this->generatePhpqaExecutionPath('infection run --verbose --show-mutations --no-interaction --only-covered --only-covering-test-cases --coverage var/phpqa/phpunit/ --threads max', phpVersion: $phpVersion, dockerImage: $phpqaDockerImage),
],
'test: functional app' => [
Expand Down

0 comments on commit e25b4c2

Please sign in to comment.