phpunit-arraysubset-asserts icon indicating copy to clipboard operation
phpunit-arraysubset-asserts copied to clipboard

Improved functionality

Open anthonyvancauwenberghe opened this issue 5 years ago • 2 comments

Could you take a look at the explanation for the frustrations with the deprecated method i posted: https://github.com/sebastianbergmann/phpunit/issues/3494#issuecomment-479905197

Would this be something you are interested in to implement?

anthonyvancauwenberghe avatar Apr 05 '19 14:04 anthonyvancauwenberghe

@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 avatar Apr 10 '19 12:04 rdohms

Hello!!

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

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

jagarsoft avatar Feb 16 '22 22:02 jagarsoft