From 2db1f12980f25f85f9301b36cefe2bedd2e058f0 Mon Sep 17 00:00:00 2001 From: Fran Moreno Date: Fri, 22 Dec 2023 12:30:29 +0100 Subject: [PATCH] Remove version in internal annotation (#829) --- src/CacheWarmer/HydratorCacheWarmer.php | 2 +- src/CacheWarmer/PersistentCollectionCacheWarmer.php | 2 +- src/CacheWarmer/ProxyCacheWarmer.php | 2 +- src/Command/ClearMetadataCacheDoctrineODMCommand.php | 2 +- src/Command/CreateSchemaDoctrineODMCommand.php | 2 +- src/Command/DoctrineODMCommand.php | 2 +- src/Command/DropSchemaDoctrineODMCommand.php | 2 +- src/Command/GenerateHydratorsDoctrineODMCommand.php | 2 +- src/Command/GenerateProxiesDoctrineODMCommand.php | 2 +- src/Command/InfoDoctrineODMCommand.php | 2 +- src/Command/LoadDataFixturesDoctrineODMCommand.php | 2 +- src/Command/QueryDoctrineODMCommand.php | 2 +- src/Command/ShardDoctrineODMCommand.php | 2 +- src/Command/UpdateSchemaDoctrineODMCommand.php | 2 +- src/DataCollector/CommandDataCollector.php | 2 +- src/DependencyInjection/Compiler/CreateProxyDirectoryPass.php | 2 +- .../Compiler/DoctrineMongoDBMappingsPass.php | 2 +- src/DependencyInjection/Compiler/FixturesCompilerPass.php | 2 +- .../Compiler/ServiceRepositoryCompilerPass.php | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/CacheWarmer/HydratorCacheWarmer.php b/src/CacheWarmer/HydratorCacheWarmer.php index 8348aaea..53fdf401 100644 --- a/src/CacheWarmer/HydratorCacheWarmer.php +++ b/src/CacheWarmer/HydratorCacheWarmer.php @@ -25,7 +25,7 @@ * In the process of generating hydrators the cache for all the metadata is primed also, * since this information is necessary to build the hydrators in the first place. * - * @internal since version 4.4 + * @internal * * @psalm-suppress ContainerDependency */ diff --git a/src/CacheWarmer/PersistentCollectionCacheWarmer.php b/src/CacheWarmer/PersistentCollectionCacheWarmer.php index 6d6d5824..887b702b 100644 --- a/src/CacheWarmer/PersistentCollectionCacheWarmer.php +++ b/src/CacheWarmer/PersistentCollectionCacheWarmer.php @@ -26,7 +26,7 @@ * In the process of generating persistent collections the cache for all the metadata is primed also, * since this information is necessary to build the persistent collections in the first place. * - * @internal since version 4.4 + * @internal * * @psalm-suppress ContainerDependency */ diff --git a/src/CacheWarmer/ProxyCacheWarmer.php b/src/CacheWarmer/ProxyCacheWarmer.php index e927f4d3..f8b6ea67 100644 --- a/src/CacheWarmer/ProxyCacheWarmer.php +++ b/src/CacheWarmer/ProxyCacheWarmer.php @@ -27,7 +27,7 @@ * In the process of generating proxies the cache for all the metadata is primed also, * since this information is necessary to build the proxies in the first place. * - * @internal since version 4.4 + * @internal * * @psalm-suppress ContainerDependency */ diff --git a/src/Command/ClearMetadataCacheDoctrineODMCommand.php b/src/Command/ClearMetadataCacheDoctrineODMCommand.php index a4f4f354..698796f4 100644 --- a/src/Command/ClearMetadataCacheDoctrineODMCommand.php +++ b/src/Command/ClearMetadataCacheDoctrineODMCommand.php @@ -12,7 +12,7 @@ /** * Command to clear the metadata cache of the various cache drivers. * - * @internal since version 4.7.0 + * @internal */ final class ClearMetadataCacheDoctrineODMCommand extends MetadataCommand { diff --git a/src/Command/CreateSchemaDoctrineODMCommand.php b/src/Command/CreateSchemaDoctrineODMCommand.php index 2f0454f2..8c92ebcf 100644 --- a/src/Command/CreateSchemaDoctrineODMCommand.php +++ b/src/Command/CreateSchemaDoctrineODMCommand.php @@ -13,7 +13,7 @@ * Command to create the database schema for a set of classes based on their * mappings. * - * @internal since version 4.7.0 + * @internal */ final class CreateSchemaDoctrineODMCommand extends CreateCommand { diff --git a/src/Command/DoctrineODMCommand.php b/src/Command/DoctrineODMCommand.php index 46988364..178224cf 100644 --- a/src/Command/DoctrineODMCommand.php +++ b/src/Command/DoctrineODMCommand.php @@ -12,7 +12,7 @@ /** * Base class for Doctrine ODM console commands to extend. * - * @internal since version 4.4.0 + * @internal */ abstract class DoctrineODMCommand extends Command { diff --git a/src/Command/DropSchemaDoctrineODMCommand.php b/src/Command/DropSchemaDoctrineODMCommand.php index f2bc6f74..edcd7185 100644 --- a/src/Command/DropSchemaDoctrineODMCommand.php +++ b/src/Command/DropSchemaDoctrineODMCommand.php @@ -13,7 +13,7 @@ * Command to drop the database schema for a set of classes based on their * mappings. * - * @internal since version 4.7.0 + * @internal */ final class DropSchemaDoctrineODMCommand extends DropCommand { diff --git a/src/Command/GenerateHydratorsDoctrineODMCommand.php b/src/Command/GenerateHydratorsDoctrineODMCommand.php index 866424be..60a0cc7e 100644 --- a/src/Command/GenerateHydratorsDoctrineODMCommand.php +++ b/src/Command/GenerateHydratorsDoctrineODMCommand.php @@ -12,7 +12,7 @@ /** * Generate the Doctrine ORM document hydrators to your cache directory. * - * @internal since version 4.7.0 + * @internal */ final class GenerateHydratorsDoctrineODMCommand extends GenerateHydratorsCommand { diff --git a/src/Command/GenerateProxiesDoctrineODMCommand.php b/src/Command/GenerateProxiesDoctrineODMCommand.php index 134710a5..dad65b9b 100644 --- a/src/Command/GenerateProxiesDoctrineODMCommand.php +++ b/src/Command/GenerateProxiesDoctrineODMCommand.php @@ -12,7 +12,7 @@ /** * Generate the Doctrine ORM document proxies to your cache directory. * - * @internal since version 4.7.0 + * @internal */ final class GenerateProxiesDoctrineODMCommand extends GenerateProxiesCommand { diff --git a/src/Command/InfoDoctrineODMCommand.php b/src/Command/InfoDoctrineODMCommand.php index 06a79758..994be215 100644 --- a/src/Command/InfoDoctrineODMCommand.php +++ b/src/Command/InfoDoctrineODMCommand.php @@ -18,7 +18,7 @@ /** * Show information about mapped documents * - * @internal since version 4.7.0 + * @internal */ final class InfoDoctrineODMCommand extends DoctrineODMCommand { diff --git a/src/Command/LoadDataFixturesDoctrineODMCommand.php b/src/Command/LoadDataFixturesDoctrineODMCommand.php index 2e0e43ff..38897d50 100644 --- a/src/Command/LoadDataFixturesDoctrineODMCommand.php +++ b/src/Command/LoadDataFixturesDoctrineODMCommand.php @@ -20,7 +20,7 @@ /** * Load data fixtures from bundles. * - * @internal since version 4.7.0 + * @internal */ final class LoadDataFixturesDoctrineODMCommand extends DoctrineODMCommand { diff --git a/src/Command/QueryDoctrineODMCommand.php b/src/Command/QueryDoctrineODMCommand.php index 9d6e1289..5c13636a 100644 --- a/src/Command/QueryDoctrineODMCommand.php +++ b/src/Command/QueryDoctrineODMCommand.php @@ -12,7 +12,7 @@ /** * Execute a Doctrine MongoDB ODM query and output the results. * - * @internal since version 4.7.0 + * @internal */ final class QueryDoctrineODMCommand extends QueryCommand { diff --git a/src/Command/ShardDoctrineODMCommand.php b/src/Command/ShardDoctrineODMCommand.php index 40ee1bd7..4e6ecddc 100644 --- a/src/Command/ShardDoctrineODMCommand.php +++ b/src/Command/ShardDoctrineODMCommand.php @@ -13,7 +13,7 @@ * Command to shard database collections for a set of classes based on their * mappings. * - * @internal since version 4.7.0 + * @internal */ final class ShardDoctrineODMCommand extends ShardCommand { diff --git a/src/Command/UpdateSchemaDoctrineODMCommand.php b/src/Command/UpdateSchemaDoctrineODMCommand.php index 3b98414d..56183fef 100644 --- a/src/Command/UpdateSchemaDoctrineODMCommand.php +++ b/src/Command/UpdateSchemaDoctrineODMCommand.php @@ -13,7 +13,7 @@ * Command to update the database schema for a set of classes based on their * mappings. * - * @internal since version 4.7.0 + * @internal */ final class UpdateSchemaDoctrineODMCommand extends UpdateCommand { diff --git a/src/DataCollector/CommandDataCollector.php b/src/DataCollector/CommandDataCollector.php index a4916dba..cade11ca 100644 --- a/src/DataCollector/CommandDataCollector.php +++ b/src/DataCollector/CommandDataCollector.php @@ -19,7 +19,7 @@ use function MongoDB\BSON\fromPHP; use function MongoDB\BSON\toCanonicalExtendedJSON; -/** @internal since version 4.7.0 */ +/** @internal */ final class CommandDataCollector extends DataCollector { public function __construct(private CommandLogger $commandLogger) diff --git a/src/DependencyInjection/Compiler/CreateProxyDirectoryPass.php b/src/DependencyInjection/Compiler/CreateProxyDirectoryPass.php index 397003fb..b9b85d35 100644 --- a/src/DependencyInjection/Compiler/CreateProxyDirectoryPass.php +++ b/src/DependencyInjection/Compiler/CreateProxyDirectoryPass.php @@ -14,7 +14,7 @@ use function mkdir; use function sprintf; -/** @internal since version 4.7.0 */ +/** @internal */ final class CreateProxyDirectoryPass implements CompilerPassInterface { public function process(ContainerBuilder $container): void diff --git a/src/DependencyInjection/Compiler/DoctrineMongoDBMappingsPass.php b/src/DependencyInjection/Compiler/DoctrineMongoDBMappingsPass.php index ff04ddce..196fb26d 100644 --- a/src/DependencyInjection/Compiler/DoctrineMongoDBMappingsPass.php +++ b/src/DependencyInjection/Compiler/DoctrineMongoDBMappingsPass.php @@ -17,7 +17,7 @@ * Class for Symfony bundles to configure mappings for model classes not in the * automapped folder. * - * @internal since version 4.7.0 + * @internal */ final class DoctrineMongoDBMappingsPass extends RegisterMappingsPass { diff --git a/src/DependencyInjection/Compiler/FixturesCompilerPass.php b/src/DependencyInjection/Compiler/FixturesCompilerPass.php index 42480018..0d92454d 100644 --- a/src/DependencyInjection/Compiler/FixturesCompilerPass.php +++ b/src/DependencyInjection/Compiler/FixturesCompilerPass.php @@ -8,7 +8,7 @@ use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; -/** @internal since version 4.7.0 */ +/** @internal */ final class FixturesCompilerPass implements CompilerPassInterface { public const FIXTURE_TAG = 'doctrine.fixture.odm.mongodb'; diff --git a/src/DependencyInjection/Compiler/ServiceRepositoryCompilerPass.php b/src/DependencyInjection/Compiler/ServiceRepositoryCompilerPass.php index 0dad15f6..62f7c254 100644 --- a/src/DependencyInjection/Compiler/ServiceRepositoryCompilerPass.php +++ b/src/DependencyInjection/Compiler/ServiceRepositoryCompilerPass.php @@ -13,7 +13,7 @@ use function array_keys; use function array_map; -/** @internal since version 4.7.0 */ +/** @internal */ final class ServiceRepositoryCompilerPass implements CompilerPassInterface { public const REPOSITORY_SERVICE_TAG = 'doctrine_mongodb.odm.repository_service';