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
changed the title [-]Squiz.Scope.StaticThisUsageSniff in Closures[/-][+]Squiz.Scope.StaticThisUsage incorrectly looking inside closures[/+]on Nov 29, 2017
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.
Activity
[-]Squiz.Scope.StaticThisUsageSniff in Closures[/-][+]Squiz.Scope.StaticThisUsage incorrectly looking inside closures[/+]Fixed bug #1747 : Squiz.Scope.StaticThisUsage incorrectly looking ins…
gsherwood commentedon Nov 29, 2017
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.
Thanks for reporting this.