-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Array shapes in varType macro #234
Comments
dg
added a commit
that referenced
this issue
Nov 3, 2020
dg
added a commit
that referenced
this issue
Nov 3, 2020
dg
added a commit
that referenced
this issue
Nov 3, 2020
dg
added a commit
that referenced
this issue
Nov 3, 2020
dg
added a commit
that referenced
this issue
Nov 3, 2020
dg
added a commit
that referenced
this issue
Nov 3, 2020
dg
added a commit
that referenced
this issue
Nov 4, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
macroSteps 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)
The text was updated successfully, but these errors were encountered: