Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Count Constaint - check \Countable first
A problem in a project where a class has been created `EmptyIteratorWithCount` meant to iterate nothing, but still have a count on it. It is used to display a count somewhere in the project where an iterator is expected, but we don't want to actually fetch any data. Unit-tests on this project suddenly started to fail after upgrading to latest PhpUnit because it checks EmptyIterator first.
- Loading branch information