[PR #8284] rename parameters to match parents #10893

Open
opened 2026-01-22 16:09:02 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/8284

State: closed
Merged: Yes


Hi,

This PR propose changing parameter names when they don't match parents.

This is suggested by the lastest version of Psalm in preparation for PHP 8 named arguments.

Here is the rationale: https://psalm.dev/docs/running_psalm/issues/ParamNameMismatch/

This may not be something we care about or that we want to support. In that case, I will change Psalm's config to ignore those in the future.

I don't believe changing parameter names is a BC break for now so we may want to do this now rather than a few months down when PHP8 will be available.

**Original Pull Request:** https://github.com/doctrine/orm/pull/8284 **State:** closed **Merged:** Yes --- Hi, This PR propose changing parameter names when they don't match parents. This is suggested by the lastest version of Psalm in preparation for PHP 8 named arguments. Here is the rationale: https://psalm.dev/docs/running_psalm/issues/ParamNameMismatch/ This may not be something we care about or that we want to support. In that case, I will change Psalm's config to ignore those in the future. I don't believe changing parameter names is a BC break for now so we may want to do this now rather than a few months down when PHP8 will be available.
admin added the pull-request label 2026-01-22 16:09:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#10893