Checks visibility of class members. Only static final members may be public; other class members must be private unless property protectedAllowed or packageAllowed is set.

This rule is deprecated, use {rule:squid:ClassVariableVisibilityCheck} instead.