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
No error should be reported - the sniff wasn't skipping the closure like it should have been. I think it might actually pre-date closures. It was a bit of a mess too, so I cleaned it up.
Currently the StaticThisUsageSniff shows an error in the following case:
The sniff should either not error or downgrade it to a warning if the $this reference is inside a closure.
The text was updated successfully, but these errors were encountered: