Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
Closed
Labels
Description
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 a
method_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>]