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
Original idea came from Phabricator Xphast, where sniff was called Self Class Reference and in there only new ClassName constructs were checked. Error message was:
Use `self` to instantiate the current class.
The text was updated successfully, but these errors were encountered:
Detect class name usage inside that class declaration and suggest replacing it with
self
.Original idea came from Phabricator Xphast, where sniff was called
Self Class Reference
and in there onlynew ClassName
constructs were checked. Error message was:The text was updated successfully, but these errors were encountered: