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
This issue has been automatically marked as stale because it has not had activity within the last 60 days. It will be closed after 7 days if no further activity occurs. Thank you for your contributions.
Given
(1) the following example class (in a vertically-compacted coding style):
(2) a utility function:
(3) that the following test passes:
then the (expected-to-pass) test:
results in 1 error:
at
phpunit/src/Framework/Constraint/Count.php:79
(same line for 6.5.13 and 7.4.3).(A possible fix is to wrap the call to
$iterator->rewind();
in atry
-block [with thecatch (\Exception $e)
doing areturn $count;
or just swallow])Note: the slightly-related pending PR #3316 keeps this behavior unchanged (the line is now here)
The text was updated successfully, but these errors were encountered: