Skip to content

Deprecate and eventually remove global functions that are not polyfills #42309

@helhum

Description

@helhum

Description
This is more a "request for comments" and or a suggestion than a feature request, but did not see another way to get in touch than creating a ticket here.

As surfaced in some issues #40203 #42280, declaring global functions using the Composer autoload "includes" section can be problematic in some cases and initially was even considered more of a hack.

My suggestion therefore is, to not introduce global functions any more, which are purely convenience
shortcuts for other functionality and deprecate the existing ones.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions