coding-standard
coding-standard copied to clipboard
Private methods don't use the $this object, could be static
Hello,
here is question on twitter Should (private) methods that don't use the object instance be static?
I didn't find sniff, whitch to do it. Do you have plan to add this sniff?
It is very similar like StaticClosureSniff.