Closed FlorianLB closed 8 years ago
You can use "in_array" function instead of "contains" and it looks like this
->array(iterator_to_array($children))
->contains($child)
with a performance issue ?
https://github.com/aliel/AtoumBundle/commit/d8a0ae92d6aca2e2040b1d38963a3f1ac2c945a9
:+1:
merge possible ?
If everybody is OK, I'll merge this tomorrow and issue an new release.
@jubianchi ok for me :)
OK
Up please ?
Symfony\Component\DomCrawler\Crawler
changes in 3.0 : it doesn't implement anymore\SplObjectStorage
so we can't rely anymore oncontains
method in our tests.I don't really know this component, if someone have a better idea.. ? ping @jubianchi