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

Why does phpunit use $this throughout instead of static #2376

Closed
ihorsamusenko opened this issue Nov 29, 2016 · 3 comments
Closed

Why does phpunit use $this throughout instead of static #2376

ihorsamusenko opened this issue Nov 29, 2016 · 3 comments

Comments

@ihorsamusenko
Copy link

Source code defines static methods, but in documentation all examples are with $this.
Why is that?

@sebastianbergmann
Copy link
Owner

This is not a discussion or support forum, sorry.

@ihorsamusenko
Copy link
Author

ihorsamusenko commented Nov 29, 2016

@sebastianbergmann got it, but still. Why is that? Did that happen historically or is there any hidden sense?

@teiling88
Copy link

@samusenkoiv see #1914

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

No branches or pull requests

3 participants