Skip to content

DeprecatedAnnotationToDeprecatedAttributeRector is loosing the message when the comment is multiline #9234

@VincentLanglet

Description

@VincentLanglet

Bug Report

Subject Details
Rector version 2.1.0

Minimal PHP Code Causing Issue

I dunno why I cannot reproduce this on getrector.com (the rule is not applied), but when trying on my project I get an issue with this code
https://getrector.com/demo/9217510a-0aaa-4899-bf96-ba54f84a856a

Expected Behaviour

The multi-line comment should be used as deprecation message.

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