From 756093a7c94891e0865ffeea3cf0fd748bbc6dfe Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Tue, 24 Oct 2023 11:38:31 +0200 Subject: [PATCH] Tag classes as final or internal based on their usages --- CHANGELOG.md | 1 + DependencyInjection/Compiler/AddProcessorsPass.php | 2 ++ DependencyInjection/Compiler/AddSwiftMailerTransportPass.php | 2 ++ DependencyInjection/Compiler/FixEmptyLoggerPass.php | 2 ++ DependencyInjection/Compiler/LoggerChannelPass.php | 2 ++ DependencyInjection/Configuration.php | 2 ++ DependencyInjection/MonologExtension.php | 2 ++ MonologBundle.php | 2 ++ 8 files changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc313647..ce5af3de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ * Add support for Symfony 7 * Remove support for Symfony 4 +* Mark classes as internal when relevant * Add support for env placeholders in the `level` option of handlers ## 3.8.0 (2022-05-10) diff --git a/DependencyInjection/Compiler/AddProcessorsPass.php b/DependencyInjection/Compiler/AddProcessorsPass.php index e9d0f8af..933526d9 100644 --- a/DependencyInjection/Compiler/AddProcessorsPass.php +++ b/DependencyInjection/Compiler/AddProcessorsPass.php @@ -20,6 +20,8 @@ * Registers processors in Monolog loggers or handlers. * * @author Christophe Coevoet + * + * @internalsince 3.9.0 */ class AddProcessorsPass implements CompilerPassInterface { diff --git a/DependencyInjection/Compiler/AddSwiftMailerTransportPass.php b/DependencyInjection/Compiler/AddSwiftMailerTransportPass.php index f242b8de..4c27a6e4 100644 --- a/DependencyInjection/Compiler/AddSwiftMailerTransportPass.php +++ b/DependencyInjection/Compiler/AddSwiftMailerTransportPass.php @@ -20,6 +20,8 @@ * container definitions. * * @author Christian Flothmann + * + * @internalsince 3.9.0 */ class AddSwiftMailerTransportPass implements CompilerPassInterface { diff --git a/DependencyInjection/Compiler/FixEmptyLoggerPass.php b/DependencyInjection/Compiler/FixEmptyLoggerPass.php index 553892ee..7f6ba15c 100644 --- a/DependencyInjection/Compiler/FixEmptyLoggerPass.php +++ b/DependencyInjection/Compiler/FixEmptyLoggerPass.php @@ -28,6 +28,8 @@ * @author Fabien Potencier * * @see https://github.com/Seldaek/monolog/commit/ad37b7b2d11f300cbace9f5e84f855d329519e28 + * + * @internalsince 3.9.0 */ class FixEmptyLoggerPass implements CompilerPassInterface { diff --git a/DependencyInjection/Compiler/LoggerChannelPass.php b/DependencyInjection/Compiler/LoggerChannelPass.php index 88793665..b1595bd1 100644 --- a/DependencyInjection/Compiler/LoggerChannelPass.php +++ b/DependencyInjection/Compiler/LoggerChannelPass.php @@ -23,6 +23,8 @@ * Replaces the default logger by another one with its own channel for tagged services. * * @author Christophe Coevoet + * + * @internalsince 3.9.0 */ class LoggerChannelPass implements CompilerPassInterface { diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index c89ef434..4a4cbe9b 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -370,6 +370,8 @@ * * @author Jordi Boggiano * @author Christophe Coevoet + * + * @finalsince 3.9.0 */ class Configuration implements ConfigurationInterface { diff --git a/DependencyInjection/MonologExtension.php b/DependencyInjection/MonologExtension.php index 5d14c430..ba7c09b6 100644 --- a/DependencyInjection/MonologExtension.php +++ b/DependencyInjection/MonologExtension.php @@ -40,6 +40,8 @@ * * @author Jordi Boggiano * @author Christophe Coevoet + * + * @finalsince 3.9.0 */ class MonologExtension extends Extension { diff --git a/MonologBundle.php b/MonologBundle.php index baf39e6f..5bf4c162 100644 --- a/MonologBundle.php +++ b/MonologBundle.php @@ -24,6 +24,8 @@ /** * @author Jordi Boggiano + * + * @finalsince 3.9.0 */ class MonologBundle extends Bundle {