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

Follow up to #137 #142

Merged
merged 3 commits into from Oct 16, 2015
Merged

Follow up to #137 #142

merged 3 commits into from Oct 16, 2015

Conversation

HavokInspiration
Copy link
Member

This PR has two goals :

It's a follow up to #137, I forgot a key point when adding options : they have to be added to the MigrationsShell class otherwise the shell call can't execute.
I also updated the dispatched command that was issued after a snapshot was baked so it doesn't mark all migrations as migrated.


Options mode should use a InputOption constant. Flags (bool values) use a InputOption::VALUE_NONE mode and options which are expecting a value should use InputOption;;VALUE_REQUIRED

Refs http://symfony.com/doc/current/components/console/introduction.html#using-command-options

Options mode should use a InputOption constant. Flags (bool values) use a `InputOption::VALUE_NONE` mode and options which are expecting a value should use `InputOption;;VALUE_REQUIRED`
@HavokInspiration HavokInspiration added this to the 1.4 milestone Oct 16, 2015
@HavokInspiration
Copy link
Member Author

Hold on, I found a weird bug.

@HavokInspiration HavokInspiration changed the title Use the correct option mode for the commands options Follow up to #137 Oct 16, 2015
@HavokInspiration
Copy link
Member Author

Ok it was not that weird of a bug. I changed the title and description of the PR since it addresses multiple things now.

@lorenzo
Copy link
Member

lorenzo commented Oct 16, 2015

👍

lorenzo added a commit that referenced this pull request Oct 16, 2015
@lorenzo lorenzo merged commit 8fd5d9f into master Oct 16, 2015
@lorenzo lorenzo deleted the cleanup-input-option branch October 16, 2015 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants