Skip to content

[4.4] Fix some leftovers #33752

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

Merged
merged 1 commit into from
Sep 30, 2019
Merged

[4.4] Fix some leftovers #33752

merged 1 commit into from
Sep 30, 2019

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Sep 29, 2019

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets #33756
License MIT
Doc PR -

Found while running console commands with the Symfony Demo.

@@ -96,7 +96,7 @@
<argument type="collection">
<argument type="service" key="cli">
<service class="Symfony\Component\VarDumper\Command\Descriptor\CliDescriptor">
<argument type="service" id="var_dumper.cli_dumper" />
<argument type="service" id="var_dumper.contextualized_cli_dumper.inner" />
Copy link
Member Author

Choose a reason for hiding this comment

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

/cc @ktherage FYI

Copy link
Contributor

Choose a reason for hiding this comment

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

@nicolas-grekas Sorry, i've missed this one.

@@ -126,6 +126,10 @@ public function configure(Event $event = null)
$output = $output->getErrorOutput();
}
$this->exceptionHandler = function ($e) use ($app, $output) {
if (!$e instanceof \Exception) {
$e = new FatalThrowableError($e);
Copy link
Member Author

Choose a reason for hiding this comment

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

/cc @fancyweb FYI

Copy link
Contributor

Choose a reason for hiding this comment

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

👍 Might sounds useless but the function could be static + type hinted \Throwable $e to be consistent with what I did in #33038.

nicolas-grekas added a commit that referenced this pull request Sep 30, 2019
This PR was merged into the 4.4 branch.

Discussion
----------

[4.4] Fix some leftovers

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #33756
| License       | MIT
| Doc PR        | -

Found while running console commands with the Symfony Demo.

Commits
-------

b416c12 [4.4] Fix some leftovers
@nicolas-grekas nicolas-grekas merged commit b416c12 into symfony:4.4 Sep 30, 2019
@nicolas-grekas nicolas-grekas deleted the fixes branch September 30, 2019 10:49
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
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