Closed MickaelGuyot closed 11 years ago
Too bad there is such a break between 2.2- and 2.3.
I'll try to do something to support both version with the same code. Thanks for the report
My previous PR does not fully fix the problem with SF 2.3. On on a better implementation which will fully handle the BC break introduced with 2.3 DomCrawler.
There is a problem with the new version of Symfony and the AtoumBundle.
When I tried to launch a basic functional test, I had the following error :
The class Element from atoum/AtoumBundle/Test/Asserters doesn't work with the new file symfony/Component/DomCrawler/Crawler.php
To make it works, I tried to replace, in the file Element.php on lines 100 and 101 (function hasContent() ) :
by :
I did the same thing in the function filterContent() (lines 116 and 117) because I had the same problem, and now my test works.