diff --git a/composer.json b/composer.json index 34dea9ab..ea61867d 100644 --- a/composer.json +++ b/composer.json @@ -40,25 +40,25 @@ "ext-simplexml": "*", "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1", "jean85/pretty-package-versions": "^2.0.5", - "phpunit/php-code-coverage": "^10.0", - "phpunit/php-file-iterator": "^4.0", + "phpunit/php-code-coverage": "^10.0.2", + "phpunit/php-file-iterator": "^4.0.1", "phpunit/php-timer": "^6.0", - "phpunit/phpunit": "^10.0.6", + "phpunit/phpunit": "^10.0.16", "sebastian/environment": "^6.0", - "symfony/console": "^6.2.5", - "symfony/process": "^6.2.5" + "symfony/console": "^6.2.7", + "symfony/process": "^6.2.7" }, "require-dev": { "ext-pcov": "*", "ext-posix": "*", "doctrine/coding-standard": "^11.1.0", "infection/infection": "^0.26.19", - "phpstan/phpstan": "^1.9", - "phpstan/phpstan-deprecation-rules": "^1.1", - "phpstan/phpstan-phpunit": "^1.3", - "phpstan/phpstan-strict-rules": "^1.4", - "squizlabs/php_codesniffer": "^3.7.1", - "symfony/filesystem": "^6.2.5" + "phpstan/phpstan": "^1.10.6", + "phpstan/phpstan-deprecation-rules": "^1.1.2", + "phpstan/phpstan-phpunit": "^1.3.10", + "phpstan/phpstan-strict-rules": "^1.5", + "squizlabs/php_codesniffer": "^3.7.2", + "symfony/filesystem": "^6.2.7" }, "autoload": { "psr-4": { diff --git a/src/WrapperRunner/ApplicationForWrapperWorker.php b/src/WrapperRunner/ApplicationForWrapperWorker.php index fe252ff5..cdf501a4 100644 --- a/src/WrapperRunner/ApplicationForWrapperWorker.php +++ b/src/WrapperRunner/ApplicationForWrapperWorker.php @@ -6,7 +6,7 @@ use ParaTest\RunnerInterface; use PHPUnit\Event\Facade as EventFacade; -use PHPUnit\Event\TestSuite\TestSuite as EventTestSuite; +use PHPUnit\Event\TestSuite\TestSuiteBuilder; use PHPUnit\Framework\TestSuite; use PHPUnit\Logging\JUnit\JunitXmlLogger; use PHPUnit\Logging\TeamCity\TeamCityLogger; @@ -66,7 +66,7 @@ public function runTest(string $testPath): int (new TestSuiteFilterProcessor())->process($this->configuration, $testSuite); EventFacade::emitter()->testRunnerExecutionStarted( - EventTestSuite::fromTestSuite($testSuite), + TestSuiteBuilder::from($testSuite), ); $testSuite->run(); @@ -159,7 +159,6 @@ public function end(): void (new TestDoxResultPrinter(DefaultPrinter::from($this->testdoxFile), $this->testdoxColor))->print( $this->testdoxResultCollector->testMethodsGroupedByClass(), - $result, ); } diff --git a/src/WrapperRunner/ResultPrinter.php b/src/WrapperRunner/ResultPrinter.php index 556a576e..3bc3ca1a 100644 --- a/src/WrapperRunner/ResultPrinter.php +++ b/src/WrapperRunner/ResultPrinter.php @@ -196,6 +196,12 @@ public function printResults(TestResult $testResult, array $teamcityFiles, array $resultPrinter = new DefaultResultPrinter( $this->printer, + true, + true, + true, + true, + true, + true, $this->options->configuration->displayDetailsOnIncompleteTests(), $this->options->configuration->displayDetailsOnSkippedTests(), $this->options->configuration->displayDetailsOnTestsThatTriggerDeprecations(),