From b7bb13fd9f1af76849e6c354036149eccceb091d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Ostroluck=C3=BD?= Date: Sun, 5 Mar 2023 20:54:50 +0100 Subject: [PATCH] Add missing @return void docblocks for Command::configure methods --- .../Console/Command/ConvertMappingCommand.php | 4 +- .../EnsureProductionSettingsCommand.php | 4 +- psalm-baseline.xml | 62 ------------------- 3 files changed, 2 insertions(+), 68 deletions(-) diff --git a/lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php index 3ee83166d76..6982043a965 100644 --- a/lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php +++ b/lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php @@ -37,9 +37,7 @@ */ class ConvertMappingCommand extends AbstractEntityManagerCommand { - /** - * {@inheritdoc} - */ + /** @return void */ protected function configure() { $this->setName('orm:convert-mapping') diff --git a/lib/Doctrine/ORM/Tools/Console/Command/EnsureProductionSettingsCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/EnsureProductionSettingsCommand.php index 38545d92e0d..0fae27529a4 100644 --- a/lib/Doctrine/ORM/Tools/Console/Command/EnsureProductionSettingsCommand.php +++ b/lib/Doctrine/ORM/Tools/Console/Command/EnsureProductionSettingsCommand.php @@ -19,9 +19,7 @@ */ class EnsureProductionSettingsCommand extends AbstractEntityManagerCommand { - /** - * {@inheritdoc} - */ + /** @return void */ protected function configure() { $this->setName('orm:ensure-production-settings') diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 93a00d79e8c..8439b37cedf 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -2541,43 +2541,19 @@ - - configure - evictAll - - configure - evictAll - - - configure - - getQueryCacheImpl - - configure - - - - - configure - - - - - configure - @@ -2599,9 +2575,6 @@ $metadata - - configure - @@ -2613,9 +2586,6 @@ new DisconnectedClassMetadataFactory() new EntityGenerator() - - configure - name]]> @@ -2624,9 +2594,6 @@ connect - - configure - @@ -2636,17 +2603,11 @@ new DisconnectedClassMetadataFactory() new EntityGenerator() - - configure - name]]> - - configure - name]]> @@ -2658,17 +2619,11 @@ new EntityRepositoryGenerator() - - configure - customRepositoryClassName]]> - - configure - getAllClassNames @@ -2685,9 +2640,6 @@ getOption('depth'), true, false)]]> - - configure - @@ -2702,9 +2654,6 @@ $metadatas $metadatas - - configure - @@ -2712,9 +2661,6 @@ $metadatas $metadatas - - configure - getName()]]> getName()]]> @@ -2724,19 +2670,11 @@ $metadatas - - configure - getName()]]> getName()]]> - - - configure - - new ArrayIterator($metadatas)