-
-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Description
When catching DuplicateKeyException, static analysis think there's no 'key'
key:
------ ---------------------------------------------------------------------------------------------
Line src/Composer/Factory.php
------ ---------------------------------------------------------------------------------------------
305 Offset 'key' does not exist on array(?'text' => string, ?'token' => string, ?'line' => int,
?'loc' => array, ?'expected' => array).
------ ---------------------------------------------------------------------------------------------
(when analysing composer/composer)
/cc @staabm
Also, if you're using just PHPStan, I'd recommend prefixing PHPDocs with @phpstan-
instead of @psalm-
because PHPStan ignores any PHPDoc parsing issues in @psalm-
prefixed tags because of forward compatibility.
Metadata
Metadata
Assignees
Labels
No labels