Skip to content

Improved functionality #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
anthonyvancauwenberghe opened this issue Apr 5, 2019 · 3 comments
Open

Improved functionality #6

anthonyvancauwenberghe opened this issue Apr 5, 2019 · 3 comments
Labels
Feature New feature or request
Milestone

Comments

@anthonyvancauwenberghe
Copy link

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?

@rdohms
Copy link
Owner

rdohms commented 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.

@rdohms rdohms added the Feature New feature or request label Apr 10, 2019
@rdohms rdohms added this to the v1.0 milestone Apr 10, 2019
@jagarsoft
Copy link

Hello!!

How about you use an array of options? like this:

[
'checkForObjectIdentity' => true,
'strict' => false,
'order' => true
]

@JakeQZ
Copy link

JakeQZ commented 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants