Skip to content

update readme

update readme #14

Triggered via push April 4, 2026 17:43
Status Failure
Total duration 18s
Artifacts

phpstan.yml

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

Annotations

10 errors and 1 warning
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Repository/MongoDBRepository.php#L129
Parameter #2 $data of method Patchlevel\Hydrator\Hydrator::hydrate() expects array<string, mixed>, array|object given.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Repository/MongoDBRepository.php#L51
Parameter #1 $documents of method MongoDB\Collection::insertMany() expects list<array|object>, array<int|string, array<string, mixed>> given.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Hydrator/RangoCipherKeyStore.php#L89
Parameter #2 $subjectId of class Patchlevel\Hydrator\Extension\Cryptography\Cipher\CipherKey constructor expects non-empty-string, string given.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Hydrator/RangoCipherKeyStore.php#L88
Parameter #1 $id of class Patchlevel\Hydrator\Extension\Cryptography\Cipher\CipherKey constructor expects non-empty-string, string given.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Hydrator/RangoCipherKeyStore.php#L65
Method Patchlevel\ODM\Hydrator\RangoCipherKeyStore::collection() should return Patchlevel\Rango\Collection<array{_id: string, subject_id: string, key: non-empty-string, method: non-empty-string, created_at: string}> but returns Patchlevel\Rango\Collection<array<string, mixed>>.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Hydrator/MongoDBCipherKeyStore.php#L89
Parameter #2 $subjectId of class Patchlevel\Hydrator\Extension\Cryptography\Cipher\CipherKey constructor expects non-empty-string, string given.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Hydrator/MongoDBCipherKeyStore.php#L88
Parameter #1 $id of class Patchlevel\Hydrator\Extension\Cryptography\Cipher\CipherKey constructor expects non-empty-string, string given.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Hydrator/MongoDBCipherKeyStore.php#L76
Parameter #1 $data of method Patchlevel\ODM\Hydrator\MongoDBCipherKeyStore::hydrate() expects array{_id: string, subject_id: string, key: non-empty-string, method: non-empty-string, created_at: string}, array|object given.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Hydrator/MongoDBCipherKeyStore.php#L63
PHPDoc tag `@return` contains generic type MongoDB\Collection<array<string, string>> but class MongoDB\Collection is not generic.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Hydrator/MongoDBCipherKeyStore.php#L43
Parameter #1 $data of method Patchlevel\ODM\Hydrator\MongoDBCipherKeyStore::hydrate() expects array{_id: string, subject_id: string, key: non-empty-string, method: non-empty-string, created_at: string}, array|object given.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, shivammathur/setup-php@2.36.0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/