-
Notifications
You must be signed in to change notification settings - Fork 99
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
Adds the option to throw an exception on missing parameters #107
base: master
Are you sure you want to change the base?
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.
this needs to be covered by tests
if (!$this->io->isInteractive()) { | ||
if (isset($config['exception-when-missing'])) { |
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.
this should check the value of the config too. Setting it to false should not throw
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.
Agree, I chose isset, as that is similar as keep-outdated. Recommend we change both them to !empty && Inline::parse !== false. Do you agree?
664d7e8
to
c906e51
Compare
…missing is true, and combines dist when exception-when-missing is false
c906e51
to
111e111
Compare
So apparently the Scrutinizer success result doesn't register here. Does somebody know how to fix this? |
Any news about this feature ? I'm also very interested |
This one should be closed as duplicate in favor of #64 |
in non-interactive mode, fixes #105