Replies: 8 comments
|
Hi @olvlvl, At current there is no way to mark a magic method as being deprecated; in the draft of PSR-5 (the new PHPDoc standard) there is a syntax to make that possible but that is not implemented in phpDocumentor yet. The new Syntax would be: |
0 replies
|
Thanks for your answer @mvriel. I'll wait for PhpStorm to update then. |
0 replies
|
I've run into same problem today. So I guess it is not fixed yet, so we should reopen the issue then @olvlvl ? |
0 replies
|
I completely forgot about this. I'm mostly writting Golang these days, no magic methods there :) |
0 replies
|
Ok I understand. Can you reopen the issue for us who miss that feature? Thanks. |
0 replies
|
Yeah, I'm missing this as well. |
0 replies
|
Also magic properties of classes get deprecated sometimes. /**
* @property int $magicProperty A value of the magic property. @deprecated v1.5 Will be removed.
*/ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
How does one mark a magic method as deprecated? There's no mention of this in the documentation. I tried different combination in PhpStorm but nothing works:
@deprecated @method int count()@method @deprecated int count()@method int count() @deprecatedThat would be nice to implement because event magic methods get deprecated sometimes.
All reactions