Skip to content

add missing phpunit.xml.dist #4

add missing phpunit.xml.dist

add missing phpunit.xml.dist #4

Triggered via push February 25, 2026 13:39
Status Failure
Total duration 28s
Artifacts

phpstan.yml

on: push
Matrix: Static Analysis by PHPStan
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Collection.php#L87
Method Patchlevel\Rango\Collection::insertMany() should return Patchlevel\Rango\InsertManyResult but returns mixed.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Collection.php#L78
Method Patchlevel\Rango\Collection::findOne() should return (T of array)|null but returns array<string, mixed>|null.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Collection.php#L59
Method Patchlevel\Rango\Collection::find() should return Patchlevel\Rango\Cursor<T of array> but returns mixed.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Collection.php#L43
Method Patchlevel\Rango\Collection::deleteOne() should return Patchlevel\Rango\DeleteResult but returns mixed.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Collection.php#L34
Method Patchlevel\Rango\Collection::deleteMany() should return Patchlevel\Rango\DeleteResult but returns mixed.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Collection.php#L25
Method Patchlevel\Rango\Collection::countDocuments() should return int but returns mixed.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Client.php#L46
Method Patchlevel\Rango\Client::listCollections() should return array but returns mixed.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Client.php#L44
Method Patchlevel\Rango\Client::listCollections() return type has no value type specified in iterable type array.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Client.php#L41
Method Patchlevel\Rango\Client::listDatabases() should return array but returns mixed.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Client.php#L39
Method Patchlevel\Rango\Client::listDatabases() return type has no value type specified in iterable type array.