WIP: Support version 2.0 of the MongoDB driver #1480
Annotations
10 errors
Run a static analysis with vimeo/psalm:
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php#L562
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php:562:23: MissingTemplateParam: Doctrine\ODM\MongoDB\Tests\_home_runner_work_mongodb_odm_mongodb_odm_tests_Doctrine_ODM_MongoDB_Tests_QueryTest_php_562_18313 has missing template params when extending ArrayIterator, expecting 2 (see https://psalm.dev/182)
|
Run a static analysis with vimeo/psalm:
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php#L562
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php:562:74: MissingTemplateParam: Doctrine\ODM\MongoDB\Tests\_home_runner_work_mongodb_odm_mongodb_odm_tests_Doctrine_ODM_MongoDB_Tests_QueryTest_php_562_18313 has missing template params when extending MongoDB\Driver\CursorInterface, expecting 2 (see https://psalm.dev/182)
|
Run a static analysis with vimeo/psalm:
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php#L563
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php:563:38: ImplementedReturnTypeMismatch: The inherited return type 'MongoDB\Driver\CursorId' for MongoDB\Driver\CursorInterface::getId is different to the implemented return type for Doctrine\ODM\MongoDB\Tests\_home_runner_work_mongodb_odm_mongodb_odm_tests_Doctrine_ODM_MongoDB_Tests_QueryTest_php_562_18313::getid 'MongoDB\BSON\Int64' (see https://psalm.dev/123)
|
Run a static analysis with vimeo/psalm:
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php#L582
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php:582:40: InvalidReturnType: The declared return type 'array<array-key, mixed>' for Doctrine\ODM\MongoDB\Tests\_home_runner_work_mongodb_odm_mongodb_odm_tests_Doctrine_ODM_MongoDB_Tests_QueryTest_php_562_18313::toArray is incorrect, got 'array<int|null, array<array-key, mixed>|null>' (see https://psalm.dev/011)
|
Run a static analysis with vimeo/psalm:
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php#L584
tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php:584:24: InvalidReturnStatement: The inferred type 'array<int|null, array<array-key, mixed>|null>' does not match the declared return type 'array<array-key, mixed>' for Doctrine\ODM\MongoDB\Tests\_home_runner_work_mongodb_odm_mongodb_odm_tests_Doctrine_ODM_MongoDB_Tests_QueryTest_php_562_18313::toArray (see https://psalm.dev/128)
|
Run a static analysis with vimeo/psalm:
tests/Doctrine/ODM/MongoDB/Tests/SchemaManagerTest.php#L1367
tests/Doctrine/ODM/MongoDB/Tests/SchemaManagerTest.php:1367:20: InternalClass: MongoDB\Model\CollectionInfoCommandIterator is internal to MongoDB but called from Doctrine\ODM\MongoDB\Tests\SchemaManagerTest (see https://psalm.dev/174)
|
Run a static analysis with vimeo/psalm:
tests/Doctrine/ODM/MongoDB/Tests/SchemaManagerTest.php#L1367
tests/Doctrine/ODM/MongoDB/Tests/SchemaManagerTest.php:1367:20: InternalMethod: Constructor MongoDB\Model\CollectionInfoCommandIterator::__construct is internal to MongoDB but called from Doctrine\ODM\MongoDB\Tests\SchemaManagerTest::createCollectionIterator (see https://psalm.dev/175)
|
Run a static analysis with vimeo/psalm:
tests/Doctrine/ODM/MongoDB/Tests/SchemaManagerTest.php#L1
tests/Doctrine/ODM/MongoDB/Tests/SchemaManagerTest.php:0:0: UnusedBaselineEntry: Baseline for issue "InternalClass" has 1 extra entry. (see https://psalm.dev/316)
|
Run a static analysis with vimeo/psalm:
tests/Doctrine/ODM/MongoDB/Tests/SchemaManagerTest.php#L1
tests/Doctrine/ODM/MongoDB/Tests/SchemaManagerTest.php:0:0: UnusedBaselineEntry: Baseline for issue "InternalMethod" has 1 extra entry. (see https://psalm.dev/316)
|
Run a static analysis with vimeo/psalm
Process completed with exit code 2.
|
Loading