Skip to content

Update allowed changes on classes in BC promise #7597

Closed
@chalasr

Description

@chalasr

I see some points that could be good to update in the document:

  • When an element is flagged @final or is final, some "no" in the list of allowed changes ("Changing classes") become "yes", such as adding/removing argument, more generally all changes that could break when extending the element
  • An argument can be added to a public method (depending on some conditions) using func_get_args/func_num_args.

WDYT?
/cc @GuilhemN

Metadata

Metadata

Assignees

No one assigned

    Labels

    hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions