Skip to content

Get different line number for attrGroups and its node  #1043

@samsonasik

Description

@samsonasik

currently, I can't found a way to verify the same line and different line number of code:

#[AllowDynamicProperties]
class User
{
}

vs

#[AllowDynamicProperties]class User
{
}

the getStartline() is always equal, between attrGroups vs node, so when downgrading, it can't be verified if it needs to be reprint or not, as in php 7, it will require get printed attrGroups and marked as comment attribute.

any way to do it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions