diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 0946e227..3573fdc1 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -33,6 +33,10 @@ jobs: - description: 'PHP 8.5' php: '8.5' composer_options: '--ignore-platform-req=php+' + - description: 'PHPUnit 13' + coverage: 'xdebug3' + php: '8.5' + phpunit: "^13" - description: 'PHPUnit 12' coverage: 'xdebug3' php: '8.3' diff --git a/composer.json b/composer.json index a8917496..6e711425 100644 --- a/composer.json +++ b/composer.json @@ -27,9 +27,9 @@ "ext-dom": "*", "ext-json": "*", "jean85/pretty-package-versions": "^1.5.1||^2.0.1", - "phpunit/php-code-coverage": "^10.1.11||^11.0||^12.0", - "phpunit/php-file-iterator": "^4.0||^5.0||^6.0", - "phpunit/phpunit": "^10.5.4||^11.0||^12.0", + "phpunit/php-code-coverage": "^10.1.11||^11.0||^12.0||^13.0", + "phpunit/php-file-iterator": "^4.0||^5.0||^6.0||^7.0", + "phpunit/phpunit": "^10.5.4||^11.0||^12.0||^13.0", "psr/event-dispatcher": "^1.0", "symfony/console": "^4.4||^5.0||^6.0||^7.0||^8.0", "symfony/dependency-injection": "^4.4||^5.0||^6.0||^7.0||^8.0", @@ -45,7 +45,7 @@ "phpstan/extension-installer": "^1.0", "phpstan/phpstan": "2.1.39", "phpstan/phpstan-phpunit": "^2.0", - "phpunit/php-invoker": "^4.0||^5.0||^6.0", + "phpunit/php-invoker": "^4.0||^5.0||^6.0||^7.0", "psalm/plugin-phpunit": "^0.19", "psalm/plugin-symfony": "^5.0", "rector/rector": "2.3.6", diff --git a/tests/Functional/Command/ParallelCommandTest.php b/tests/Functional/Command/ParallelCommandTest.php index d3110ef2..947dd620 100644 --- a/tests/Functional/Command/ParallelCommandTest.php +++ b/tests/Functional/Command/ParallelCommandTest.php @@ -237,10 +237,10 @@ public function testExecutionWithParametersWithoutValue(): void 'command' => $command->getName(), '--configuration' => $configurationPath, 'stringFilter' => 'green', - '--pass-through' => ['--dont-report-useless-tests'], + '--pass-through' => ['--no-coverage'], ]); - $this->assertSame(0, $exitCode); + $this->assertSame(0, $exitCode, $commandTester->getDisplay()); } public function testExecutionWithoutConfiguration(): void diff --git a/tests/Functional/Configuration/PassThroughTest.php b/tests/Functional/Configuration/PassThroughTest.php index 11ce2412..5902ac32 100644 --- a/tests/Functional/Configuration/PassThroughTest.php +++ b/tests/Functional/Configuration/PassThroughTest.php @@ -239,6 +239,7 @@ private function getPossibleFutureOptions(): array '--do-not-fail-on-incomplete', '--include-git-information', '--exclude-source-from-xml-coverage', + '--test-files-file', ]; } }