Skip to content

CatchExceptionNameMatchingTypeRector doesn't announce itself #1534

@Aerendir

Description

@Aerendir
    ---------- begin diff ----------
--- Original
+++ New
@@ -369,7 +369,7 @@

         try {
             $json = \Safe\json_encode($return);
-        } catch (JsonException $exception) {
+        } catch (JsonException $jsonException) {
             $json = '';
         }
    ----------- end diff -----------

5) src/Manager/FileManager.php
    ---------- begin diff ----------
--- Original
+++ New
@@ -20,7 +20,7 @@

 use App\Manager\EmailManager;
 use InvalidArgumentException;
-use SerendipityHQ\Component\ValueObjects\Email\Email as EmailValue;
+use SerendipityHQ\Component\ValueObjects\Email\Email;
 use Symfony\Component\Validator\Constraint;
 use Symfony\Component\Validator\ConstraintValidator;
    ----------- end diff -----------

I expect to have the name of the applied rector somewhere, but there isn't

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions