MethodsMustHaveVisibilityOperatorRule does not ignore anonymous functions #3

Open
davidpersson opened this Issue Dec 2, 2009 · 0 comments

Comments

Projects
None yet
1 participant

MethodsMustHaveVisibilityOperatorRule does not ignore anonymous functions defined within methods and requires those to have a visibility operator, too.

class Xy {
     public function test() {
          function() {};
     }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment