Skip to content

Conversation

@nope7777
Copy link
Contributor

Hello!

  • Type: bug fix
  • Link to issue: -

In raising this pull request, I confirm the following:

  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR
  • I updated the CHANGELOG

Small description of change:

This PR fixes an issue where default values for method parameters were not included in the generated argument info (arginfo). As a result, the PHP Reflection API could not retrieve these default values, which caused incorrect behavior in PHPUnit mock objects and libraries that rely on reflection, such as FriendsOfPHP/proxy-manager-lts.

Thanks

@sonarqubecloud
Copy link

@Jeckerson Jeckerson changed the title Fixed missing default values in reflection metadata for method parame… Fixed missing default values in reflection metadata for method param Nov 23, 2025
@Jeckerson Jeckerson merged commit ce0ce44 into zephir-lang:development Nov 23, 2025
2 checks passed
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