Hi @kukulich.
Just opening this issue to track something we saw at https://github.com/doctrine/doctrine2/pull/7136:
- /* @var Class $variable */
+ /** @var Class $variable */
As you already mentioned, maybe a simple workaround at SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration may fix it.
Thanks :smile:
Imho doesn't make sense. /* ... */ is a comment whereas /** ... */ is phpDoc. Converting/interchanging each doesn't make sense.
@Majkl578 I think /* @var ... */ can be safely reported by the sniff.
/* is correct, PHPStan also only reads phpDocs, it skips / comments.
On Mon, 19 Mar 2018 at 19:54, Jaroslav HanslÃk notifications@github.com
wrote:
@Majkl578 https://github.com/majkl578 I think /* @var ... */ can be
safely reported by the sniff.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/slevomat/coding-standard/issues/308#issuecomment-374326473,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGZuFm0ud2LAQmhnqhsQsVdZHHU7fpkks5tf_77gaJpZM4Swl9K
.>
Ondřej Mirtes
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Imho doesn't make sense.
/* ... */is a comment whereas/** ... */is phpDoc. Converting/interchanging each doesn't make sense.