Skip to content

[FrameworkBundle] [Bug] Fixes new InputStyle bug #16920 #16922

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

Closed

Conversation

AlmogBaku
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #16920
License MIT

$options['output'] = $output;
$helper->describe($output, $object, $options);
$options['output'] = $io;
$helper->describe($io, $object, $options);
Copy link
Contributor

Choose a reason for hiding this comment

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

This should probably be reverted, the helper need the Output instance.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@@ -126,7 +126,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$builder->setTimeout(null);
$process = $builder->getProcess();

if (OutputInterface::VERBOSITY_VERBOSE > $output->getVerbosity()) {
Copy link
Member

Choose a reason for hiding this comment

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

This one should probably be left as $output->getVerbosity()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are probably right. Using the original object will give better performance than the wrapped one.
DONE

@Tobion
Copy link
Contributor

Tobion commented Dec 9, 2015

Good catch, thanks @AlmogBaku.

Tobion added a commit that referenced this pull request Dec 9, 2015
…lmogBaku)

This PR was squashed before being merged into the 2.8 branch (closes #16922).

Discussion
----------

[FrameworkBundle] [Bug] Fixes new InputStyle bug #16920

| Q             | A
| ------------- | ---
| Bug fix?      | **yes**
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | **yes**
| Fixed tickets | #16920
| License       | MIT

Commits
-------

d2b9a1d [FrameworkBundle] [Bug] Fixes new InputStyle bug #16920
@Tobion Tobion closed this Dec 9, 2015
This was referenced Dec 26, 2015
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.

5 participants