Find the best Rector rule to solve your problem. Searching through 661 rules.
Found 1 rule. That's the one:
Turns old event name with EXCEPTION to ERROR constant in Console in Symfony
-"console.exception"
+Symfony\Component\Console\ConsoleEvents::ERROR