- Issue created by @omkar_yewale
- @omkar_yewale opened merge request.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 6:26am 17 March 2023 - Status changed to RTBC
over 1 year ago 9:12am 17 March 2023 - 🇮🇹Italy apaderno Brescia, 🇮🇹
What has been added after
@var
contains a namespace and it is an interface name.The MR is good to go.
- Status changed to Closed: works as designed
over 1 year ago 1:57pm 17 March 2023 - 🇺🇸United States bvoynick
Hi Omkar, thanks for taking the time to contribute!
In this particular case, this is a Drupal standard that has recently changed. Make sure you're using the latest version of drupal/coder.
What changed recently is that the rule (and PHPCS sniff) now takes PHP type declarations into account. Because those interfaces are already declared in the property definition, it does not have to be specified again with @var in the property's DocBlock.