Skip to content
This repository was archived by the owner on Dec 3, 2023. It is now read-only.
This repository was archived by the owner on Dec 3, 2023. It is now read-only.

ForbiddenParamTypeRemovalRule - should ignore __construct #4290

@MartinMystikJonas

Description

@MartinMystikJonas

Rule ForbiddenParamTypeRemovalRule reports change of parameters even for constructors, where forcing compatibility with parent class constructor is not required and often constructor signature changes (for example child sets some parent constructor params to fixed value)

Do you agree? I can prepare PR

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