-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Stop calling a method static if its not static #872
Conversation
Same CI failure as |
Yeah, I'd say the failed tests are unrelated. Not sure why, the tested console command (ModelsCommand) seems to error out only in Laravel 6 and the tests poorly handle that case. Locally it works for me… |
Actually no, this PR seems to break it. This is the exception caught in
|
(I'll improve this unexpected error handling later) |
Is this good to merge then or do I need to change something here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this good to merge then or do I need to change something here?
IMHO change is fine, but:
- please rebase, so that tests are green
- please actually add a test, see https://github.com/barryvdh/laravel-ide-helper/tree/master/tests/Console/ModelsCommand for plenty of examples
- (generally try to avoid unrelated changes, whitespace, etc.)
Thanks!
@@ -1,15 +0,0 @@ | |||
; This file is for unifying the coding style for different editors and IDEs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Undo the file removal, please
See also #897 (comment) |
Fixes #846