Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8e1b521

Browse filesBrowse files
author
Hugo Fonseca
committed
[Console] added symfony/debug ~2.7 dependency
1 parent 0a7fb98 commit 8e1b521
Copy full SHA for 8e1b521

File tree

2 files changed

+3
-2
lines changed
Filter options

2 files changed

+3
-2
lines changed

‎src/Symfony/Component/Console/Application.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Application.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ protected function doRunCommand(Command $command, InputInterface $input, OutputI
866866
$event = new ConsoleTerminateEvent($command, $input, $output, $e->getCode());
867867
$this->dispatcher->dispatch(ConsoleEvents::TERMINATE, $event);
868868

869-
throw $x;
869+
throw $e;
870870
}
871871
} else {
872872
$exitCode = ConsoleCommandEvent::RETURN_CODE_DISABLED;

‎src/Symfony/Component/Console/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/composer.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.9"
19+
"php": ">=5.3.9",
20+
"symfony/debug": "~2.7,>=2.7.2"
2021
},
2122
"require-dev": {
2223
"symfony/event-dispatcher": "~2.1",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.