Skip to content

Not wanted changed indentation with RenameClassRector #1532

@soullivaneuh

Description

@soullivaneuh

With the symfony40 set, I have plenty of diffs like this:

--- Original
+++ New
@@ -76,8 +76,8 @@
      *
      * @ORM\ManyToMany(targetEntity="AppBundle\Entity\Group")
      * @ORM\JoinTable(name="fos_user_user_group",
-     *     joinColumns={@ORM\JoinColumn(referencedColumnName="id")},
-     *     inverseJoinColumns={@ORM\JoinColumn(referencedColumnName="id")}
+     * joinColumns={@ORM\JoinColumn(referencedColumnName="id")},
+     * inverseJoinColumns={@ORM\JoinColumn(referencedColumnName="id")}
      * )
      */
     protected $groups;

The new indent is quite wrong to me, and I don't believe "fixing" indentation is the role of rector here, am I wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions