Skip to content

fix sscanf() inference with regex format patterns#1576

Merged
ondrejmirtes merged 3 commits intophpstan:1.8.xfrom
staabm:fix7563
Aug 25, 2022
Merged

fix sscanf() inference with regex format patterns#1576
ondrejmirtes merged 3 commits intophpstan:1.8.xfrom
staabm:fix7563

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented Aug 1, 2022

@staabm staabm force-pushed the fix7563 branch 2 times, most recently from 4aa44f1 to f044305 Compare August 5, 2022 15:29
@rvanvelzen
Copy link
Copy Markdown
Contributor

This fails for '%[%[]' which should have size 1.

@staabm
Copy link
Copy Markdown
Contributor Author

staabm commented Aug 9, 2022

This fails for '%[%[]' which should have size 1.

good catch, fixed

@staabm staabm force-pushed the fix7563 branch 2 times, most recently from 2ce76d1 to 986e8ba Compare August 9, 2022 14:31
@staabm staabm force-pushed the fix7563 branch 4 times, most recently from b23d682 to 93d5a56 Compare August 25, 2022 15:55
@staabm
Copy link
Copy Markdown
Contributor Author

staabm commented Aug 25, 2022

rebased

@ondrejmirtes ondrejmirtes merged commit e0f2c89 into phpstan:1.8.x Aug 25, 2022
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you.

@staabm staabm deleted the fix7563 branch August 26, 2022 06:34
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.

sscanf array bug Sscanf Array Index

3 participants