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

Traits don't seem to be supported. #42

Closed
ADmad opened this issue Dec 20, 2016 · 2 comments
Closed

Traits don't seem to be supported. #42

ADmad opened this issue Dec 20, 2016 · 2 comments

Comments

@ADmad
Copy link
Contributor

ADmad commented Dec 20, 2016

It seems phpstan currently doesn't recognize methods and properties provided through a trait. For e.g. if a class has usage $this->foo and foo property is provided through a trait, phpstan throws a Access to an undefined property.. error.

@ondrejmirtes
Copy link
Member

ondrejmirtes commented Dec 20, 2016 via email

@ADmad
Copy link
Contributor Author

ADmad commented Dec 20, 2016

Thanks. Closing the issue for now in that case.

@ADmad ADmad closed this as completed Dec 20, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Dec 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants