Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access levels should never be overridden in subclasses #35

Closed
muglug opened this issue Jan 12, 2017 · 0 comments
Closed

Access levels should never be overridden in subclasses #35

muglug opened this issue Jan 12, 2017 · 0 comments
Assignees
Labels

Comments

@muglug
Copy link
Collaborator

muglug commented Jan 12, 2017

class A {
  public function foo() { }
}
class B extends A {
  protected function foo() { }
}

this should emit an issue, but does not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant