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

FixCommand - forbid passing 'config' and 'rules' options together #3387

Closed
wants to merge 2 commits into from

Conversation

keradus
Copy link
Member

@keradus keradus commented Jan 4, 2018

No description provided.

@keradus keradus added this to the 3.0.0 milestone Jan 4, 2018
$passedConfig = $input->getOption('config');
$passedRules = $input->getOption('rules');

if (null !== $passedConfig && null !== $passedRules) {
throw new InvalidConfigurationException('Passing both `--config` and `--rules` options is not possible.');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically passing the two is possible (that is how we end up here), it is however not valid ;)

@SpacePossum SpacePossum added the RTM Ready To Merge label Jan 5, 2018
@keradus keradus removed the RTM Ready To Merge label Jan 9, 2018
keradus added a commit that referenced this pull request Jan 9, 2018
…together (keradus)

This PR was squashed before being merged into the 3.0 branch (closes #3387).

Discussion
----------

FixCommand - forbid passing 'config' and 'rules' options together

Commits
-------

39a8931 FixCommand - forbid passing 'config' and 'rules' options together
@keradus keradus closed this Jan 9, 2018
@keradus keradus deleted the 3.0_14 branch January 9, 2018 15:03
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