-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Removed unused class imports #19311
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
Removed unused class imports #19311
Conversation
Hi @sreichel. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
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.
Thanks for your contribution @sreichel , I reviewed several randomly selected files and found an issue. Please see the review comment.
@@ -8,7 +8,6 @@ | |||
|
|||
use Magento\Mtf\Fixture\FixtureInterface; | |||
use Magento\Mtf\Handler\Curl as AbstractCurl; | |||
use Magento\Mtf\Util\Protocol\CurlTransport; |
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.
CurlTransport is used in this class
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.
Please see answer below ... this class does not exist.
Thanks for the contribution, @sreichel ! Please see the review notes. Also, it would be great if you can keep the number of files updated by such kind of pull requests lower (maybe splitting between several pull requests), as it's hard to properly review and I experience performance issues on github while viewing the code changes. :) |
@sivaschenko I'll split it next time. I'm on nearly latest M2.3-dev, but there is no |
@sreichel you are missing the MTF installation. Please navigate to |
@sivaschenko sorry for confusion. I was on wrong branch ... |
@sivaschenko completly missed MTF ... i'll fix tomorrow. |
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.
Hi @sreichel,
We already faced with similar contribution a bunch of times. It does not make sense without a proper static test implemented similar to testCodeStyle
which involves php-cs-fixer
.
Please implement such test, without it we unfortunately cannot accept such PR.
@orlangur it looks like you already faced this question, can you please provide some guidance, you are aware of, on how to create such test (maybe at least entry points where to place it in the code), any suggestions or recommendations. It will be very helpful and I believe it will speed up the contribution. Thanks! |
@sivaschenko I already mentioned |
@orlangur as @sivaschenko said, some guidance would be helpfull. I've no idea how to include |
@sreichel |
Closing due to inactivity. Feel free to reach me out anytime later if you wish to continue work on this pull request and it will be reopened. |
Description (*)
Just some cleanup to remove "a few" unused class imports.
Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)