mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #8284] rename parameters to match parents #10893
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.