Skip to content

Update functionMap#2783

Merged
ondrejmirtes merged 3 commits intophpstan:1.10.xfrom
zonuexe:update/function-maps
Nov 27, 2023
Merged

Update functionMap#2783
ondrejmirtes merged 3 commits intophpstan:1.10.xfrom
zonuexe:update/function-maps

Conversation

@zonuexe
Copy link
Contributor

@zonuexe zonuexe commented Nov 26, 2023

No description provided.

Copy link
Member

Choose a reason for hiding this comment

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

Parameters don't need to be renamed

Copy link
Member

Choose a reason for hiding this comment

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

What effect should this have? The types aren't enforced: https://phpstan.org/r/25c3b187-4888-4aa4-86ad-5e350f16346f

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see, it turns out that typing like @param-out cannot be solved by modifying only the functionMap.

https://phpstan.org/r/3c7a8a08-abce-45c9-b310-0bcb4e4b6ba4

The execution results of the function are as follows:

スクリーンショット 2023-11-27 3 30 35

@zonuexe zonuexe force-pushed the update/function-maps branch from 076bb7b to 6b3f805 Compare November 26, 2023 18:47
@zonuexe zonuexe force-pushed the update/function-maps branch from 6b3f805 to 046ea30 Compare November 27, 2023 02:58
@zonuexe zonuexe force-pushed the update/function-maps branch from 49433f2 to fff2584 Compare November 27, 2023 06:11
@zonuexe zonuexe requested a review from ondrejmirtes November 27, 2023 06:26
@ondrejmirtes ondrejmirtes merged commit c8a7996 into phpstan:1.10.x Nov 27, 2023
@ondrejmirtes
Copy link
Member

Thank you!

@zonuexe zonuexe deleted the update/function-maps branch November 27, 2023 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants