diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-23 22:27:02 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-23 22:27:02 +0900 |
| commit | 2d89dc761237b055ddb8c6dc817c46c0cd6dd44d (patch) | |
| tree | 549ab0605564aeee40b499c0592a6a119e3877f7 /crates/shirabe-external-packages/src/symfony/console/input.rs | |
| parent | cec38036d6b3d5a4bd009f2eef3bd88791ab5828 (diff) | |
| download | php-shirabe-2d89dc761237b055ddb8c6dc817c46c0cd6dd44d.tar.gz php-shirabe-2d89dc761237b055ddb8c6dc817c46c0cd6dd44d.tar.zst php-shirabe-2d89dc761237b055ddb8c6dc817c46c0cd6dd44d.zip | |
fix(plugin-class-classifier): reach docblock-only generic payload types
The reachability closure only consults @phpstan-return/@param/@var
docblocks when the native type is array/iterable/mixed/object/absent.
For a concrete wrapper class whose payload is expressed only via a
phpstan generic (PromiseInterface<Process>), the payload type was
silently dropped: Symfony\Component\Process\Process never appeared as
reached even though ProcessExecutor::executeAsync() hands one to
plugin callbacks. Treat known generic wrapper types the same as
array/iterable/mixed/object so their docblock payload is folded into
the closure.
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console/input.rs')
0 files changed, 0 insertions, 0 deletions
