Skip to content

shipmonk.publicPropertyNotReadonly does not support asymmetric visibility #319

@JanTvrdik

Description

@JanTvrdik

No error should be reported, when public private(set) is used, e.g.

#[Entity]
#[Table(name: '`user`')]
#[UniqueConstraint(columns: ['email'])]
class User
{

    #[Id]
    #[Column(type: UuidType::NAME)]
    public private(set) Uuid $id;

    #[Column(type: Types::TEXT)]
    public private(set) string $email;

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions