-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
FeatureNew feature or requestNew feature or request
Milestone
Description
Could you take a look at the explanation for the frustrations with the deprecated method i posted:
sebastianbergmann/phpunit#3494 (comment)
Would this be something you are interested in to implement?
rdarcy1, AntonTyutin, jagarsoft and arnegroskurth
Metadata
Metadata
Assignees
Labels
FeatureNew feature or requestNew feature or request
Projects
Milestone
Relationships
Development
Select code repository
Activity
rdohms commentedon Apr 10, 2019
@deviouspk yes, I had originally planned to review and improve for here. Ideally without breaking BC and by introducing new asserts. I saw your description and it looks like a good starting point to discuss.
jagarsoft commentedon Feb 16, 2022
Hello!!
How about you use an array of options? like this:
[
'checkForObjectIdentity' => true,
'strict' => false,
'order' => true
]
JakeQZ commentedon Mar 21, 2025
👍 for providing this extension.
For the case where both arrays are non-associative, could the
Constraint
simply check for this, and if both are indexed (or empty) arrays, ignore the keys? This would avoid any need for an extra parameter.