-
-
Notifications
You must be signed in to change notification settings - Fork 215
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
Add type declaration to MigrationCollector::reset()
#491
Conversation
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 use a meaningful commit message as described in our contribution guide.
@SenseException I don't know how to edit my previous commit messages |
you need to amend your git history locally and to force-push your branch after that |
@asuri0n You can find infos on how to change the last commit here: https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History#_git_amend and do a force-push afterwards. |
Co-authored-by: Alexander M. Turek <[email protected]>
well ... I think I screwed up the git history.... I will make a new merge request with clean commit message. |
You don't need to, you can just force push once the history is good. What you could do is
|
Cc @mpdude, regarding doctrine/doctrine-website#473 (comment) :) |
@asuri0n there are 9 commits now. Have you tried what I recommended above? |
If we‘d ask contributors to provide meaningful summaries in the opening comment, it would help everybody coming here for a review, and less experienced Git users could more easily change the text than with Git history rewrites and force-pushes. Then, in the end, squash-merge and use the initial comment as the squash merge message. That also makes meaningless commits in the course of the PR („Fix CS“) irrelevant. Would have saved us all some headache here, non? But that’s just my $.02, off topic here so I’ll just shut up 😉 |
No no, you're right, I think it's just we didn't think of that! @asuri0n , can you please edit the body of the pull request, as suggested? |
It's a pretty simple pull request, I've updated the body, is it enough ? |
It would be nice to quote the message. Also, it would be nice to know why you fixed I think it's a deprecation coming from Symfony, right? And I think maybe you considered using |
|
Oh right 🤦 |
MigrationCollector::reset()
Thank you @asuri0n! |
Added the explicit @return type in
MigrationCollector::reset()
to suspend the deprecation info msg