Menu

#230 rule: public static method not in Util class

open
nobody
None
5
2013-02-16
2011-02-09
No

Create a rule that finds public static methods or public static closures.
This is a lame way to do OO. Seriously.

Create a whitelist regex of class names where public static is allowed... for instance class names that match *.Util, *.Utils, *.Helper, *.Utilities, and *.Category are OK to have these methods.

Discussion


Log in to post a comment.