Skip to content

Commit 78f131a

Browse files
committed
Undo deprecation
1 parent 8e6ff5d commit 78f131a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

DependencyInjection/MonologExtension.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -957,13 +957,6 @@ private function getHandlerClassByType($handlerType)
957957
}
958958
}
959959

960-
if (Logger::API === 1 && array_key_exists($handlerType, $v2HandlerTypesRemoved)) {
961-
@trigger_error(
962-
sprintf('"%s" is deprecated and will be removed in MonoLog v2.', $handlerType),
963-
E_USER_DEPRECATED
964-
);
965-
}
966-
967960
if (!isset($typeToClassMapping[$handlerType])) {
968961
if (Logger::API === 1 && array_key_exists($handlerType, $v2HandlerTypesAdded)) {
969962
throw new InvalidArgumentException(

0 commit comments

Comments
 (0)