Skip to content

Commit b5aa559

Browse files
committed
Upgrade phpunit to version ^10.5
1 parent 3cb1903 commit b5aa559

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"jetbrains/phpstorm-attributes": "^1.0",
6969
"phpmd/phpmd": "^2.13",
7070
"phpstan/phpstan": "^1.9",
71-
"phpunit/phpunit": "10.1.3"
71+
"phpunit/phpunit": "^10.5"
7272
},
7373
"minimum-stability": "dev",
7474
"prefer-stable": true,

phpunit.xml.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false"
33
bootstrap="vendor/autoload.php" colors="true" stopOnError="false" stopOnFailure="false"
44
stopOnIncomplete="false" stopOnSkipped="false"
5-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"
5+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
66
cacheDirectory=".phpunit.cache">
77
<coverage>
88
<report>

tests/AppTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ final class AppTest extends TestCase
4646
protected function setUp() : void
4747
{
4848
$this->app = new App(new Config(__DIR__ . '/configs', [], '.config.php'));
49+
\restore_error_handler();
4950
}
5051

5152
public function testInitialization() : void

tests/Debug/AppCollectorTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ protected function setUp() : void
3535
$this->collector = $this->app::debugger()
3636
->getCollection('App')
3737
->getCollectors()[0];
38+
\restore_error_handler();
3839
}
3940

4041
protected function getExternalCollector() : AppCollector

0 commit comments

Comments
 (0)