no_unused_imports
Unused use statements must be removed.
use
--- Original +++ New <?php use \DateTime; -use \Exception; new DateTime();
The rule is part of the following rule sets:
Using the @PhpCsFixer rule set will enable the no_unused_imports rule.
Using the @Symfony rule set will enable the no_unused_imports rule.