WIP: Support version 2.0 of the MongoDB driver #1576
Annotations
8 errors
Run a static analysis with phpstan/phpstan:
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php#L562
Return type (MongoDB\BSON\Int64) of method class@anonymous/tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php:561::getId() should be compatible with return type (MongoDB\Driver\CursorId) of method MongoDB\Driver\CursorInterface::getId()
|
Run a static analysis with phpstan/phpstan:
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php#L577
Method class@anonymous/tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php:561::setTypeMap() has parameter $typemap with no value type specified in iterable type array.
|
Run a static analysis with phpstan/phpstan:
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php#L581
Method class@anonymous/tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php:561::toArray() return type has no value type specified in iterable type array.
|
Run a static analysis with phpstan/phpstan:
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php#L586
Method class@anonymous/tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php:561::current() return type has no value type specified in iterable type array.
|
Run a static analysis with phpstan/phpstan:
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php#L626
Method Doctrine\ODM\MongoDB\Tests\QueryTest::createCursorMock() return type has no value type specified in iterable type Traversable.
|
Run a static analysis with phpstan/phpstan:
tests/Doctrine/ODM/MongoDB/Tests/SchemaManagerTest.php#L1381
Method Doctrine\ODM\MongoDB\Tests\SchemaManagerTest::createIndexIterator() has parameter $indexes with no value type specified in iterable type array.
|
Run a static analysis with phpstan/phpstan:
tests/Doctrine/ODM/MongoDB/Tests/SchemaManagerTest.php#L1393
Method Doctrine\ODM\MongoDB\Tests\SchemaManagerTest::createCollectionIterator() has parameter $collections with no value type specified in iterable type array.
|
Run a static analysis with phpstan/phpstan
Process completed with exit code 1.
|
Loading