Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitb8209e7

Browse files
author
James Halsall
committed
Fix code style, add TODO
1 parent1cb06e5 commitb8209e7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines 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)

[8]ページ先頭

©2009-2025 Movatter.jp