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
The ValidHookName sniff contains a warning when dynamic hook names are encountered to manually examine those for hook name length. The maximum word count is configurable, not fixed.
Hook name could not reliably be examined for maximum word count. Please verify this hook name manually. Found: %s
Note: this warning is at severity3 and will not show by default so as to not be CI blocking. It will be shown only when the minimum severity for a run is explicitly lowered to 3 or lower.
When looking at this message, it is not directly actionable as it doesn't mention what the maximum word countis.
By the looks of it, the sniff can possibly also be improved further to throw this warning less often.
If the non-dynamic part of a dynamic hook name contains text which would already create a violation against the maximum word count, the TooLong or MaxExceeded warning/error should be thrown instead - in so far as this is determinable, of course.
The text was updated successfully, but these errors were encountered:
The
ValidHookName
sniff contains a warning when dynamic hook names are encountered to manually examine those for hook name length. The maximum word count is configurable, not fixed.When looking at this message, it is not directly actionable as it doesn't mention what the maximum word count is.
By the looks of it, the sniff can possibly also be improved further to throw this warning less often.
If the non-dynamic part of a dynamic hook name contains text which would already create a violation against the maximum word count, the
TooLong
orMaxExceeded
warning/error should be thrown instead - in so far as this is determinable, of course.The text was updated successfully, but these errors were encountered: