Skip to content

Use new %TagClass%() instead of %TagClass%::tag() #243

@vjik

Description

@vjik

With PHP 8.4 (new MyClass()->method() without parentheses) single static constructor has lost its meaning.

Suggestion for NormalTag, VoidTag and CustomTag:

  • make constructor public;
  • deprecate static constructor.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions