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
I've been using silverstripe-ideannotator and really enjoying it.
Unfortunately I've encountered an issue when playing around with psalm.
Whilst parsing the docblocks specifically ( psalm is unhappy with annotations like the following @mixin \SilverStripe\Versioned\Versioned("Stage","Live")
Here is the question part 😄 . I've been doing some digging around and cannot find anything indicating this sort of syntax. Is this a valid syntax, a bug or is it just a sort of code comment / nicety?
Would PR to either fix this or make it configurable be accepted?
The text was updated successfully, but these errors were encountered:
Hey @LiamKearn, the PHPDoc spec has always been a little ambiguous (has gone in and out of PHP-FIG maintenance). I would recommend trying firstly to remove the ("Stage","Live") part of these annotations, but if that also doesn't help I'd be happy for you to remove them.
Hiya,
Sorry for the issue a tad on the question side.
I've been using
silverstripe-ideannotator
and really enjoying it.Unfortunately I've encountered an issue when playing around with psalm.
Whilst parsing the docblocks specifically
(
psalm is unhappy with annotations like the following@mixin \SilverStripe\Versioned\Versioned("Stage","Live")
Here is the question part 😄 . I've been doing some digging around and cannot find anything indicating this sort of syntax. Is this a valid syntax, a bug or is it just a sort of code comment / nicety?
Would PR to either fix this or make it configurable be accepted?
The text was updated successfully, but these errors were encountered: