Closed
Description
Feature request
List shapes is a variant of array shapes introduced in Psalm 5 that only support implicit and integer-indexed keys.
list{string, int}
list{0: string, 1: int}
list{0: string, 1?: int}
The first step is to just parse list{}
as an alias for array{}
for interoperability with Psalm.
Did PHPStan help you today? Did it make you happy in any way?
This week I am writing an 8-page article to introduce PHPStan at the PHPerKaigi Japanese conference.