From e25b4c2fbd66d70f6ddad24f556e0bfaae3a2439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dalibor=20Karlovi=C4=87?= Date: Tue, 27 Jun 2023 18:15:55 +0200 Subject: [PATCH] fix: remove --verbose for PHPUnit, compat with v10 (#137) --- resources/PHP/common.mk | 4 ++-- tests/functional/PHP/PhpTrait.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/PHP/common.mk b/resources/PHP/common.mk index aff5a0e..d906ff6 100644 --- a/resources/PHP/common.mk +++ b/resources/PHP/common.mk @@ -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,$@) diff --git a/tests/functional/PHP/PhpTrait.php b/tests/functional/PHP/PhpTrait.php index c5cf113..cbf0211 100644 --- a/tests/functional/PHP/PhpTrait.php +++ b/tests/functional/PHP/PhpTrait.php @@ -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' => [