-
-
Notifications
You must be signed in to change notification settings - Fork 390
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
Deprecate using --all-or-nothing
with values
#1305
Deprecate using --all-or-nothing
with values
#1305
Conversation
lib/Doctrine/Migrations/Tools/Console/ConsoleInputMigratorConfigurationFactory.php
Outdated
Show resolved
Hide resolved
lib/Doctrine/Migrations/Tools/Console/ConsoleInputMigratorConfigurationFactory.php
Outdated
Show resolved
Hide resolved
lib/Doctrine/Migrations/Tools/Console/ConsoleInputMigratorConfigurationFactory.php
Outdated
Show resolved
Hide resolved
tests/Doctrine/Migrations/Tests/Tools/Console/Command/MigrateCommandTest.php
Outdated
Show resolved
Hide resolved
Please add an |
@greg0ire I'll apply the suggestions later today |
ef571b5
to
e52e88d
Compare
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.
@agustingomes sorry I forgot about this… can you rebase please 🙏 ?
ping @agustingomes :) |
@greg0ire No worries. I'll do the rebase and push it afterwards. |
e52e88d
to
64f23e0
Compare
@greg0ire I rebased it against |
Deprecations should go on the next minor branch. Right now that's 3.7.x, sorry. |
@greg0ire no problem, I'll rebase my branch on |
During the iteration of the PR doctrine#1296 an idea to deprecate passing values to this option was suggested, given how complicated was to handle using that option without any value, which led to a bug and inconsistency with the documentation. As specified in the deprecation message, using this option from 4.0.x onwards in the CLI will be treated as `true`, and the option itself won't accept values.
61a37e7
to
6fd78a4
Compare
6fd78a4
to
799f16d
Compare
@greg0ire I rebased the branch, but I don't know how to check the BC Break locally, as it seems the tool that does that check is not getting installed when doing |
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.
The bc check failure looks unrelated, I think it can be ignored. I shall try to look into it at some point
Thanks @agustingomes ! |
After this merge the follow row started to trigger the deprecated message: I think that as a follow up of this PR will be necessary remove this row. |
I don't understand. Please open a full fledged issue. |
@vitormattos if I understand correctly, this will fix the problem, as the logic to throw/not throw the deprecation was incomplete: It already has an issue associated to it, which has been linked in the PR. cc @greg0ire |
Oh right, forgot this wasn't merged already. |
Summary
During the iteration of the PR #1296 an idea to deprecate passing values to this option was suggested, given how complicated was to handle using that option without any value, which led to a bug and inconsistency with the documentation.
As specified in the deprecation message, using this option from 4.0.x onwards in the CLI will be treated as
true
, and the option itself won't accept values.