Skip to content

Conversation

@mitelg
Copy link

@mitelg mitelg commented Oct 30, 2025

This PR changes the gen_stub.php script to allow PHPDoc parameter annotations to have proper variadic syntax.
The according regExes are adjusted to allow additional ... right in front of the parameter name. See linked issue for more information.

Closes #20277

@mitelg mitelg force-pushed the fix/gen_stub-variadic-parameter-phpdoc branch from 653ca50 to 4e5214b Compare October 31, 2025 06:43
Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

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

Looks correct to me. @kocsismate Can you verify?

@mitelg
Copy link
Author

mitelg commented Dec 4, 2025

hey @TimWolla @iluuu1994 @kocsismate

first thanks for your reviews! it seems we are ready to go, right? Or do you need something else from my side?
I absolutely do not want to build up pressure or being annoying! 🙈 I just wonder, if we can get that in, now that PHP 8.5 settled a bit 😊

Thanks again, and have a nice day 👋

@iluuu1994
Copy link
Member

@mitelg I removed some unnecessary changes (the named capture group was the incorrct one), and will merge as soon as CI is green.

Not that it matters, we just want no unrelated changes.
@kocsismate
Copy link
Member

Ping @iluuu1994 :) I've just noticed that merge was forgotten. I can do it if you don't have time for that.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants