We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57949f1 commit 8b2a763Copy full SHA for 8b2a763
tests/Model/CodecCursorFunctionalTest.php
@@ -8,8 +8,10 @@
8
use MongoDB\Model\CodecCursor;
9
use MongoDB\Tests\FunctionalTestCase;
10
11
+use function phpversion;
12
use function restore_error_handler;
13
use function set_error_handler;
14
+use function version_compare;
15
16
use const E_DEPRECATED;
17
use const E_USER_DEPRECATED;
@@ -25,6 +27,10 @@ public function setUp(): void
25
27
26
28
public function testSetTypeMap(): void
29
{
30
+ if (version_compare(phpversion(), '8.4', '>=')) {
31
+ $this->markTestIncomplete('Test fails on PHP 8.4 due to deprecations');
32
+ }
33
+
34
$collection = self::createTestClient()->selectCollection($this->getDatabaseName(), $this->getCollectionName());
35
$cursor = $collection->find();
36
0 commit comments