Skip to content

Update xml_*_handler signature#4254

Merged
ondrejmirtes merged 2 commits intophpstan:2.1.xfrom
VincentLanglet:xml__handler
Sep 7, 2025
Merged

Update xml_*_handler signature#4254
ondrejmirtes merged 2 commits intophpstan:2.1.xfrom
VincentLanglet:xml__handler

Conversation

@VincentLanglet
Copy link
Copy Markdown
Contributor

@VincentLanglet
Copy link
Copy Markdown
Contributor Author

Tests fail for PHP < 8.4 because of php-src stub.
I try to know if it's an easy on php-src side https://github.com/php/php-src/pull/12340/files#r2311900015

If the stub are wrong, I'm unsure how it will be needed to be fixed on PHPStan (extractor ?) side...

@VincentLanglet VincentLanglet marked this pull request as draft August 30, 2025 10:58
@VincentLanglet
Copy link
Copy Markdown
Contributor Author

Confirmed from php/php-src#12340 (comment) that the stub was wrong on php-src side.

@VincentLanglet VincentLanglet marked this pull request as ready for review September 6, 2025 16:37
@phpstan-bot
Copy link
Copy Markdown
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes ondrejmirtes merged commit b13745e into phpstan:2.1.x Sep 7, 2025
442 of 454 checks passed
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you.

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.

ext/xml: set_*_handler() functions allows to set relative method names for callables

3 participants