Skip to content

Commit 9ec6141

Browse files
committed
Add support for PHPUnit 13
1 parent e46449b commit 9ec6141

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
"ext-simplexml": "*",
4141
"fidry/cpu-core-counter": "^1.3.0",
4242
"jean85/pretty-package-versions": "^2.1.1",
43-
"phpunit/php-code-coverage": "^12.5.3",
44-
"phpunit/php-file-iterator": "^6",
45-
"phpunit/php-timer": "^8",
46-
"phpunit/phpunit": "^12.5.9",
47-
"sebastian/environment": "^8.0.3",
48-
"symfony/console": "^7.3.4 || ^8.0.0",
49-
"symfony/process": "^7.3.4 || ^8.0.0"
43+
"phpunit/php-code-coverage": "^12.5.3 || ^13.0.1",
44+
"phpunit/php-file-iterator": "^6.0.1 || ^7",
45+
"phpunit/php-timer": "^8 || ^9",
46+
"phpunit/phpunit": "^12.5.9 || ^13",
47+
"sebastian/environment": "^8.0.3 || ^9",
48+
"symfony/console": "^7.4.4 || ^8.0.4",
49+
"symfony/process": "^7.4.5 || ^8.0.5"
5050
},
5151
"require-dev": {
5252
"ext-pcntl": "*",
@@ -57,7 +57,7 @@
5757
"phpstan/phpstan-deprecation-rules": "^2.0.3",
5858
"phpstan/phpstan-phpunit": "^2.0.12",
5959
"phpstan/phpstan-strict-rules": "^2.0.8",
60-
"symfony/filesystem": "^7.3.2 || ^8.0.0"
60+
"symfony/filesystem": "^7.4.0 || ^8.0.1"
6161
},
6262
"autoload": {
6363
"psr-4": {

test/Unit/WrapperRunner/WrapperRunnerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ public function testHandleCollisionWithSymfonyOutput(): void
650650
}
651651

652652
#[Group('github')]
653-
#[RequiresPhpunit('10')]
653+
#[RequiresPhpunit('>=10')]
654654
public function testIgnoreAttributes(): void
655655
{
656656
$this->bareOptions['--configuration'] = $this->fixture('github' . DIRECTORY_SEPARATOR . 'GH756' . DIRECTORY_SEPARATOR . 'phpunit.xml');
@@ -659,9 +659,9 @@ public function testIgnoreAttributes(): void
659659

660660
$expectedContains = <<<'EOF'
661661
ParaTest\Tests\fixtures\github\GH756\CoveredOneClass
662-
Methods: 100.00% ( 1/ 1) Lines: 100.00% ( 1/ 1)
662+
Methods: 100.00% ( 2/ 2) Lines: 100.00% ( 2/ 2)
663663
ParaTest\Tests\fixtures\github\GH756\CoveredTwoClass
664-
Methods: 100.00% ( 1/ 1) Lines: 100.00% ( 1/ 1)
664+
Methods: 100.00% ( 2/ 2) Lines: 100.00% ( 2/ 2)
665665
EOF;
666666

667667
self::assertSame(RunnerInterface::SUCCESS_EXIT, $runnerResult->exitCode);

0 commit comments

Comments
 (0)