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/html-sanitizer
1 match
MastermindsParserToNativeParserRector
symfony/html-sanitizer >=7.4
Replace deprecated MastermindsParser with NativeParser
-use Symfony\Component\HtmlSanitizer\Parser\MastermindsParser;
-
-$parser = new MastermindsParser();
+$parser = new \Symfony\Component\HtmlSanitizer\Parser\NativeParser();