Skip to content

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Mar 19, 2022

Tried to built a simpler variant for the array_replace extension, which hopefully does not suffer from the perf problems which lead to reverting the first revision.

My primary motivation was to cover a non-empty-array return type.. if the inference itself is too costly I could reduce the extension to only judge about the non-empty-ness

I re-used the tests from #696

closes phpstan/phpstan#5327
closes #696

@clxmstaab clxmstaab force-pushed the array-replace branch 2 times, most recently from 74924cf to 8a2800a Compare March 19, 2022 21:45
@staabm staabm marked this pull request as ready for review March 19, 2022 21:49
@staabm
Copy link
Contributor Author

staabm commented Mar 21, 2022

I am unable to open the github action job logs of the 2 errored jobs:

see e.g.
grafik

-> opened a github support ticket

@ondrejmirtes ondrejmirtes merged commit a1a40ff into phpstan:1.5.x Mar 21, 2022
@ondrejmirtes
Copy link
Member

Thank you.

@staabm staabm deleted the array-replace branch March 21, 2022 16:22
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.

non-empty-array and array_*-functions
3 participants