Skip to content

Commit 6846cf4

Browse files
author
Hugo Hamon
committed
Normalizes deprecation notice messages.
1 parent 89169c8 commit 6846cf4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

EventListener/ExceptionListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ protected function duplicateRequest(\Exception $exception, Request $request)
116116
'logger' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,
117117
// keep for BC -- as $format can be an argument of the controller callable
118118
// see src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php
119-
// @deprecated in 2.4, to be removed in 3.0
119+
// @deprecated since version 2.4, to be removed in 3.0
120120
'format' => $request->getRequestFormat(),
121121
);
122122
$request = $request->duplicate(null, null, $attributes);

EventListener/RouterListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function __construct($matcher, RequestContext $context = null, LoggerInte
8686
*
8787
* @param Request|null $request A Request instance
8888
*
89-
* @deprecated since version 2.4, to be moved to a private function in 3.0.
89+
* @deprecated since version 2.4, to be removed in 3.0.
9090
*/
9191
public function setRequest(Request $request = null)
9292
{

0 commit comments

Comments
 (0)