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 b8209e7

Browse filesBrowse files
author
James Halsall
committed
Fix code style, add TODO
1 parent 1cb06e5 commit b8209e7
Copy full SHA for b8209e7

File tree

1 file changed

+2
-5
lines changed
Filter options

1 file changed

+2
-5
lines changed

‎src/Symfony/Component/Console/EventListener/ExceptionListener.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/EventListener/ExceptionListener.php
+2-5Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,8 @@ public function onKernelTerminate(ConsoleTerminateEvent $event)
6262
return;
6363
}
6464

65-
$message = sprintf(
66-
'Command `%s` exited with status code %d',
67-
implode(' ', $_SERVER['argv']),
68-
$exitCode
69-
);
65+
// TODO: replace $_SERVER global usage with data from Input
66+
$message = sprintf('Command `%s` exited with status code %d', implode(' ', $_SERVER['argv']), $exitCode);
7067

7168
$this->logger->error($message);
7269
}

0 commit comments

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