phpunit icon indicating copy to clipboard operation
phpunit copied to clipboard

Add `assertSameDictionaryKeysValues` to compare keys and values without regard to key order

Open samlitowitz opened this issue 5 months ago • 0 comments

Resolves #6088

@sebastianbergmann assuming you are ok with the concept, I would love your input on the implementation. Notably a large portion of the constraint work is take from the ArrayComparator and the ObjectComparator making me wonder if a new comparator was the right approach. If it's ok with you, I wanted to have the discussion here before opening issues or making PR's against the comparator repository.

samlitowitz avatar Jul 31 '25 22:07 samlitowitz