Skip to content

ImportFullyQualifiedNamesRector results in weird change  #1527

@matiit

Description

@matiit

Command that I used:

docker run -v $(pwd):/project rector/rector:latest process /project/src --autoload-file /project/vendor/autoload.php --level symfony40

Refactor performed:

@@ -67,7 +67,7 @@ class Stage
      * Stage constructor.
      *
      * @param string $stage
-     * @param boolean $undefined Should the object be undefined?
+     * @param boolean $undefined Should the object be undefined??d??d??d??
      */

which does look pretty weird.
The class that has been modified is a pretty simple PHP5.6 class (compatible with PHP7, but not using PHP7 features.

If more info is needed, plesase let me know.

Thank you.

==

Edit,
I can see that the 'rector' that has been applied is:
Rector\CodingStyle\Rector\Namespace_\ImportFullyQualifiedNamesRector

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