Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add support for list shapes #175

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

Merged
ondrejmirtes merged 2 commits into phpstan:1.9.x from zonuexe:feature/list-shapes
Jan 29, 2023
Merged

Add support for list shapes #175

ondrejmirtes merged 2 commits into phpstan:1.9.x from zonuexe:feature/list-shapes
Jan 29, 2023

Conversation

Copy link
Contributor

@zonuexe zonuexe commented Jan 29, 2023

strict-array and strict-list were canceled, but list shapes was introduced in Psalm 5.
It looks like you can merge some of the #161 patch by @danog.

refs phpstan/phpstan#8789

int,
string
}',
new ArrayShapeNode([
Copy link
Member

@ondrejmirtes ondrejmirtes Jan 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to know the array shape "kind" (array or list) at the ArrayShapeNode class.

zonuexe reacted with thumbs up emoji
@ondrejmirtes ondrejmirtes merged commit 57090cf into phpstan:1.9.x Jan 29, 2023
Copy link
Member

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@ondrejmirtes ondrejmirtes ondrejmirtes approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /