Skip to content

rename metadata hydrator into stack hydrator #2444

rename metadata hydrator into stack hydrator

rename metadata hydrator into stack hydrator #2444

Triggered via pull request February 27, 2026 08:48
Status Failure
Total duration 21s
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.5, ubuntu-latest)
Process completed with exit code 1.
Static Analysis by PHPStan (locked, 8.5, ubuntu-latest): tests/Unit/StackHydratorTest.php#L224
Parameter #1 $class of method Patchlevel\Hydrator\StackHydrator::hydrate() expects class-string<Unknown>, string given.
Static Analysis by PHPStan (locked, 8.5, ubuntu-latest): tests/Unit/StackHydratorBuilderTest.php#L31
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Patchlevel\\Hydrator\\StackHydrator' and Patchlevel\Hydrator\StackHydrator will always evaluate to true.
Static Analysis by PHPStan (locked, 8.5, ubuntu-latest): src/StackHydrator.php#L83
Parameter #2 $data of method Patchlevel\Hydrator\Middleware\Middleware::hydrate() expects array<string, mixed>, array<mixed, mixed> given.
Static Analysis by PHPStan (locked, 8.5, ubuntu-latest): src/StackHydrator.php#L76
Parameter #2 $data of method Patchlevel\Hydrator\Middleware\Middleware::hydrate() expects array<string, mixed>, array<mixed, mixed> given.
Static Analysis by PHPStan (locked, 8.5, ubuntu-latest): src/StackHydrator.php#L68
Parameter #2 $data of method Patchlevel\Hydrator\Middleware\Middleware::hydrate() expects array<string, mixed>, array<mixed, mixed> given.