Version: v2.8.2
Bug Description
Array shapes (https://phpstan.org/writing-php-code/phpdoc-types#array-shapes) are not working as expected in the varType macro
Steps To Reproduce
{varType array{0: int, 1: int} $data}
yields error Unexpected content, expecting {varType type $var} in ...
Expected Behavior
I was hoping that this would be supported and that later on, PHPStan would be able to analyze it (not sure whether mesour's plugin will support it as well)
Version:
v2.8.2Bug Description
Array shapes (https://phpstan.org/writing-php-code/phpdoc-types#array-shapes) are not working as expected in the
varTypemacroSteps To Reproduce
yields error
Unexpected content, expecting {varType type $var} in ...Expected Behavior
I was hoping that this would be supported and that later on, PHPStan would be able to analyze it (not sure whether mesour's plugin will support it as well)