Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Debug] New @method detection #10504

Closed
Closed
Labels
@ro0NL

Description

@ro0NL

Seesymfony/symfony#28902

Basically enables adding methods to interfaces in an upcoming major. Not declaring real methods for@method annotations will trigger a deprecation in the current major.

  • the vendor should depend on amethod_exists() check in the current major, providing a fallback in case the consumer object is not yet upgraded
  • the vendor should declare the real interface method in the upcoming major, removing the@method annotation andmethod_exists check at this point
  • the consumer should fix deprecation before upgrading, not doing so will hard cause a hard crash due the above changes by the vendor

I think it should be added tohttps://symfony.com/bc also

The detected signature, per phpdoc3, is:

@method [[static] return type] [name]([[type] [parameter]<, ...>]) [<description>]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp