Find a Rector rule

Find the best Rector rule to solve your problem. Searching through 1097 rules.

Found 1 rule. That's the one: Clear

symfony/dom-crawler 1 match

Remove deprecated $useHtml5Parser argument of Crawler constructor, the native HTML5 parser is always used

 use Symfony\Component\DomCrawler\Crawler;

-$crawler = new Crawler($html, $uri, null, false);
+$crawler = new Crawler($html, $uri, null);