Skip to content

Rector adds whitespace in comments #2939

@fsok

Description

@fsok

Bug Report

Subject Details
Rector version dev-master@37cd497
Installed as composer dependency

When a doc block line only contains a whitespace char, rector adds another whitespace char. When rector is run again this keeps happening - in each run another whitespace is added.

Minimal PHP Code Causing Issue

https://getrector.org/demo/0a8a1c75-b66b-4437-ab01-aa1ad7fca0c2

Expected Behaviour

No change of doc block.

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