You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAICT, this is a problem in PHP CodeSniffer's PEAR.FunctionCommentSniff, which is only extended by Symfony.FunctionCommentSniff. Could anybody verify this and report it to the upstream project?
In my controller, I have:
Running PHP CS on this, returns:
It seems the sniff does not accept attributes in between the phpdoc block and the method. This seems incorrect.
It works if I move the attribute above the docblock, but that just seems lexically wrong.
The text was updated successfully, but these errors were encountered: