Skip to content

Clarify "Visibility must be declared" in the context of aviz #114

@jrfnl

Description

@jrfnl

Related to #98 and #99

From the currently published PSR-PER (and not changed in master):

4.3 Properties and Constants
Visibility MUST be declared on all properties.

For the purpose of automated tooling and keeping aviz in mind, should the above be interpreted to mean "the get/read visibility must always be explicitly declared, independently of a potentially declared write visibility" ? Or should it be interpreted to mean "as long as there is any visibility declared, be it aviz or non-aviz, this rule is satisfied" ?

Edit: just for the record - I presume the latter is the case based on #99, but just want to make sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions