You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Assert that two arrays are identical while ignoring the order of their values.
233
+
*
234
+
* The (key, value) relationship matters, the order of the (key, value) pairs in the array does not matter, and keys as well as values are compared strictly.
* Assert that two arrays are equal while ignoring the order of their values.
307
+
*
308
+
* The (key, value) relationship matters, the order of the (key, value) pairs in the array does not matter, and keys as well as values are compared loosely.
if (!function_exists('PHPUnit\Framework\assertArraysAreIdenticalIgnoringOrder')) {
248
+
/**
249
+
* Assert that two arrays are identical while ignoring the order of their values.
250
+
*
251
+
* The (key, value) relationship matters, the order of the (key, value) pairs in the array does not matter, and keys as well as values are compared strictly.
252
+
*
253
+
* @param array<mixed> $expected
254
+
* @param array<mixed> $actual
255
+
*
256
+
* @throws ExpectationFailedException
257
+
*
258
+
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
if (!function_exists('PHPUnit\Framework\assertArraysAreEqualIgnoringOrder')) {
269
+
/**
270
+
* Assert that two arrays are equal while ignoring the order of their values.
271
+
*
272
+
* The (key, value) relationship matters, the order of the (key, value) pairs in the array does not matter, and keys as well as values are compared loosely.
273
+
* This is essentially an alias for assertEquals().
274
+
*
275
+
* @param array<mixed> $expected
276
+
* @param array<mixed> $actual
277
+
*
278
+
* @throws ExpectationFailedException
279
+
*
280
+
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
0 commit comments