Skip to content

DRAFT: add event dispatcher #1758

DRAFT: add event dispatcher

DRAFT: add event dispatcher #1758

Triggered via pull request March 25, 2025 10:44
Status Failure
Total duration 37s
Artifacts

phpstan.yml

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

Annotations

6 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): src/MetadataHydrator.php#L181
Method Patchlevel\Hydrator\MetadataHydrator::extract() should return array<string, mixed> but returns array.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Event/PreHydrate.php#L9
Method Patchlevel\Hydrator\Event\PreHydrate::__construct() has parameter $data with no value type specified in iterable type array.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Event/PostExtract.php#L9
Method Patchlevel\Hydrator\Event\PostExtract::__construct() has parameter $data with no value type specified in iterable type array.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Cryptography/CryptographySubscriber.php#L23
Parameter #2 $data of method Patchlevel\Hydrator\Cryptography\PayloadCryptographer::encrypt() expects array<string, mixed>, array given.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest): src/Cryptography/CryptographySubscriber.php#L18
Parameter #2 $data of method Patchlevel\Hydrator\Cryptography\PayloadCryptographer::decrypt() expects array<string, mixed>, array given.