Skip to content

update readme

update readme #15

Triggered via push February 26, 2026 16:37
Status Failure
Total duration 31s
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)
Process completed with exit code 1.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): tests/IntegrationTest.php#L1303
Call to method PHPUnit\Framework\Assert::assertNotNull() with MongoDB\Collection|Patchlevel\Rango\Collection<TDocument of array<string, mixed>> will always evaluate to true.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Database.php#L32
Method Patchlevel\Rango\Database::selectCollection() should return Patchlevel\Rango\Collection<TDocument of array<string, mixed>> but returns Patchlevel\Rango\Collection<array<string, mixed>>.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Database.php#L30
Template type TDocument of method Patchlevel\Rango\Database::selectCollection() is not referenced in a parameter.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Database.php#L22
Method Patchlevel\Rango\Database::getCollection() should return Patchlevel\Rango\Collection<TDocument of array<string, mixed>> but returns Patchlevel\Rango\Collection<array<string, mixed>>.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Database.php#L20
Template type TDocument of method Patchlevel\Rango\Database::getCollection() is not referenced in a parameter.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Cursor.php#L75
Method Patchlevel\Rango\Cursor::toArray() should return list<TDocument of array<string, mixed>> but returns list<array<string, mixed>>.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Cursor.php#L69
Method Patchlevel\Rango\Cursor::toArray() should return list<TDocument of array<string, mixed>> but returns array<array<string, mixed>>.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Client.php#L43
Method Patchlevel\Rango\Client::selectCollection() should return Patchlevel\Rango\Collection<TDocument of array<string, mixed>> but returns Patchlevel\Rango\Collection<array<string, mixed>>.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Client.php#L41
Template type TDocument of method Patchlevel\Rango\Client::selectCollection() is not referenced in a parameter.