From 2ffdcc7cfe6ce1756a6237724e853229c2fa31b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Cobucci?= Date: Sun, 10 Nov 2024 22:33:30 +0100 Subject: [PATCH] Clarify which classes are under BC-guarantees MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Luís Cobucci --- src/Compiler.php | 1 + src/Compiler/ParameterBag.php | 2 ++ src/Config/ContainerConfiguration.php | 1 + src/Generator.php | 1 + src/Generators/Delegating.php | 2 ++ src/Generators/Php.php | 2 ++ src/Generators/Xml.php | 2 ++ src/Generators/Yaml.php | 2 ++ src/Testing/MakeServicesPublic.php | 1 + 9 files changed, 14 insertions(+) diff --git a/src/Compiler.php b/src/Compiler.php index 143edcfc..81e0f7e7 100644 --- a/src/Compiler.php +++ b/src/Compiler.php @@ -18,6 +18,7 @@ use function is_array; use function is_string; +/** @internal */ final readonly class Compiler { private const DEFAULT_PASS_CONFIG = [null, PassConfig::TYPE_BEFORE_OPTIMIZATION, 0]; diff --git a/src/Compiler/ParameterBag.php b/src/Compiler/ParameterBag.php index 36b057a0..2e36f70b 100644 --- a/src/Compiler/ParameterBag.php +++ b/src/Compiler/ParameterBag.php @@ -10,6 +10,8 @@ * Injects parameters into the container * * You should use this to define dynamic parameters using PHP + * + * @internal */ final class ParameterBag implements CompilerPassInterface { diff --git a/src/Config/ContainerConfiguration.php b/src/Config/ContainerConfiguration.php index c64378d9..bc83186d 100644 --- a/src/Config/ContainerConfiguration.php +++ b/src/Config/ContainerConfiguration.php @@ -20,6 +20,7 @@ use const DIRECTORY_SEPARATOR; +/** @internal */ final class ContainerConfiguration { public const CLASS_NAME = 'AppContainer'; diff --git a/src/Generator.php b/src/Generator.php index a190692a..67ce764f 100644 --- a/src/Generator.php +++ b/src/Generator.php @@ -13,6 +13,7 @@ use function assert; use function is_a; +/** @internal */ abstract readonly class Generator { private Compiler $compiler; diff --git a/src/Generators/Delegating.php b/src/Generators/Delegating.php index c4b7ba03..ed9f3739 100644 --- a/src/Generators/Delegating.php +++ b/src/Generators/Delegating.php @@ -15,6 +15,8 @@ /** * The dependency injection generator that allows XML, YAML and PHP files + * + * @internal */ final readonly class Delegating extends Generator { diff --git a/src/Generators/Php.php b/src/Generators/Php.php index 53a5ed6d..b15ed9fc 100644 --- a/src/Generators/Php.php +++ b/src/Generators/Php.php @@ -11,6 +11,8 @@ /** * The dependency injection generator for PHP files + * + * @internal */ final readonly class Php extends Generator { diff --git a/src/Generators/Xml.php b/src/Generators/Xml.php index 8a32a868..3b1242c9 100644 --- a/src/Generators/Xml.php +++ b/src/Generators/Xml.php @@ -11,6 +11,8 @@ /** * The dependency injection generator for XML files + * + * @internal */ final readonly class Xml extends Generator { diff --git a/src/Generators/Yaml.php b/src/Generators/Yaml.php index 84d5a17e..e33222f2 100644 --- a/src/Generators/Yaml.php +++ b/src/Generators/Yaml.php @@ -11,6 +11,8 @@ /** * The dependency injection generator for YAML files + * + * @internal */ final readonly class Yaml extends Generator { diff --git a/src/Testing/MakeServicesPublic.php b/src/Testing/MakeServicesPublic.php index 1f2fbc45..a4ee234f 100644 --- a/src/Testing/MakeServicesPublic.php +++ b/src/Testing/MakeServicesPublic.php @@ -6,6 +6,7 @@ use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; +/** @internal */ final class MakeServicesPublic implements CompilerPassInterface { /**