Skip to content

[FrameworkBundle][MonologBridge] Remove recently deprecated symbols #51289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[MonologBridge][FrameworkBundle] Remove recently deprecated symbols
  • Loading branch information
nicolas-grekas committed Aug 5, 2023
commit 099aee8d56befc64fee8dae634385f2332f4a152
3 changes: 3 additions & 0 deletions UPGRADE-7.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ FrameworkBundle
```

* Remove the integration of Doctrine annotations, use native attributes instead
* Remove `EnableLoggerDebugModePass`, use argument `$debug` of HttpKernel's `Logger` instead
* Remove `AddDebugLogProcessorPass::configureLogger()`, use HttpKernel's `DebugLoggerConfigurator` instead

HttpFoundation
--------------
Expand Down Expand Up @@ -264,6 +266,7 @@ MonologBridge
-------------

* Drop support for monolog < 3.0
* Remove class `Logger`, use HttpKernel's `DebugLoggerConfigurator` instead

PropertyAccess
--------------
Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Bridge/Monolog/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ CHANGELOG
---

* Drop support for monolog < 3.0
* Remove class `Logger`, use HttpKernel's `DebugLoggerConfigurator` instead

6.4
---
Expand Down
95 changes: 0 additions & 95 deletions src/Symfony/Bridge/Monolog/Logger.php

This file was deleted.

142 changes: 0 additions & 142 deletions src/Symfony/Bridge/Monolog/Tests/LoggerTest.php

This file was deleted.

2 changes: 2 additions & 0 deletions src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ CHANGELOG
`Symfony\Component\Serializer\Normalizer\NormalizerInterface` or implement `NormalizerAwareInterface` instead
* Remove the `Http\Client\HttpClient` service, use `Psr\Http\Client\ClientInterface` instead
* Remove the integration of Doctrine annotations, use native attributes instead
* Remove `EnableLoggerDebugModePass`, use argument `$debug` of HttpKernel's `Logger` instead
* Remove `AddDebugLogProcessorPass::configureLogger()`, use HttpKernel's `DebugLoggerConfigurator` instead

6.4
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,4 @@ public function process(ContainerBuilder $container): void
$container->getDefinition('monolog.logger_prototype')
->setConfigurator([new Reference('debug.debug_logger_configurator'), 'pushDebugLogger']);
}

/**
* @deprecated since Symfony 6.4, use HttpKernel's DebugLoggerConfigurator instead
*/
public static function configureLogger(mixed $logger): void
{
trigger_deprecation('symfony/framework-bundle', '6.4', 'The "%s()" method is deprecated, use HttpKernel\'s DebugLoggerConfigurator instead.', __METHOD__);

if (\is_object($logger) && method_exists($logger, 'removeDebugLogger') && \in_array(\PHP_SAPI, ['cli', 'phpdbg'], true)) {
$logger->removeDebugLogger();
}
}
}

This file was deleted.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy