We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c549e1b + 3138ed0 commit 7e6960cCopy full SHA for 7e6960c
composer.json
@@ -25,7 +25,7 @@
25
"ext-json": "*",
26
"ext-libxml": "*",
27
"composer-runtime-api": "^2.0",
28
- "phpunit/phpunit": "^10.0",
+ "phpunit/phpunit": "^10.0|^11.0",
29
"symfony/property-access": "^5.2|^6.2|^7.0",
30
"symfony/serializer": "^5.2|^6.2|^7.0",
31
"symfony/yaml": "^5.2|^6.2|^7.0"
src/MatchesSnapshots.php
@@ -49,7 +49,7 @@ public function markTestIncompleteIfSnapshotsHaveChanged()
49
$this->markTestIncomplete($formattedMessages);
50
}
51
52
- public function assertMatchesSnapshot($actual, Driver $driver = null): void
+ public function assertMatchesSnapshot($actual, ?Driver $driver = null): void
53
{
54
if (! is_null($driver)) {
55
$this->doSnapshotAssertion($actual, $driver);
0 commit comments