From 0d6d22af0b57b7f38411a9d8f19558c7f3d1d770 Mon Sep 17 00:00:00 2001 From: Lee Rowlands <lee.rowlands@previousnext.com.au> Date: Tue, 15 May 2018 06:49:38 +1000 Subject: [PATCH] Issue #2926120 by idebr, zaporylie, borisson_: @var tag must not end with a full stop --- .../EventDispatcher/ContainerAwareEventDispatcher.php | 2 +- core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php | 2 +- core/lib/Drupal/Core/Controller/HtmlFormController.php | 2 +- core/lib/Drupal/Core/Form/EnforcedResponse.php | 2 +- core/lib/Drupal/Core/Path/AliasManager.php | 2 +- core/lib/Drupal/Core/Routing/AccessAwareRouter.php | 2 +- core/lib/Drupal/Core/Session/UserSession.php | 2 +- .../automated_cron/src/EventSubscriber/AutomatedCron.php | 2 +- core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php | 2 +- .../block_content/src/Plugin/Block/BlockContentBlock.php | 4 ++-- core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php | 2 +- core/modules/comment/src/CommentForm.php | 2 +- .../modules/comment/tests/src/Unit/CommentLinkBuilderTest.php | 2 +- core/modules/config/src/Form/ConfigSingleImportForm.php | 2 +- core/modules/config/src/Form/ConfigSync.php | 2 +- core/modules/contact/src/Access/ContactPageAccess.php | 2 +- .../tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php | 2 +- .../editor/tests/src/Kernel/QuickEditIntegrationTest.php | 2 +- core/modules/field/tests/src/Functional/FieldHelpTest.php | 2 +- .../field/tests/src/Kernel/ConfigFieldDefinitionTest.php | 2 +- core/modules/hal/src/LinkManager/RelationLinkManager.php | 2 +- core/modules/hal/src/LinkManager/TypeLinkManager.php | 2 +- core/modules/help/tests/src/Functional/HelpTest.php | 2 +- core/modules/help/tests/src/Functional/NoHelpTest.php | 2 +- core/modules/history/tests/src/Functional/HistoryTest.php | 4 ++-- .../src/EventSubscriber/LanguageRequestSubscriber.php | 2 +- .../tests/src/Functional/LanguageSelectorTranslatableTest.php | 2 +- core/modules/locale/src/LocaleConfigManager.php | 2 +- .../locale/tests/src/Kernel/LocaleConfigSubscriberTest.php | 2 +- .../src/Plugin/migrate/destination/EntityConfigBase.php | 2 +- .../migrate/tests/src/Unit/MigrateSqlSourceTestCase.php | 2 +- core/modules/migrate/tests/src/Unit/MigrateTestCase.php | 2 +- .../migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php | 2 +- .../src/Functional/NodeAccessLanguageAwareCombinationTest.php | 4 ++-- core/modules/node/tests/src/Functional/NodeHelpTest.php | 2 +- core/modules/page_cache/src/StackMiddleware/PageCache.php | 2 +- core/modules/quickedit/src/EditorSelector.php | 2 +- .../quickedit/tests/src/Kernel/MetadataGeneratorTest.php | 2 +- .../tests/src/Kernel/EntitySerializationTest.php | 2 +- .../tests/src/Kernel/FieldItemSerializationTest.php | 2 +- core/modules/simpletest/src/KernelTestBase.php | 2 +- .../statistics/tests/src/Functional/StatisticsAdminTest.php | 2 +- .../statistics/tests/src/Functional/StatisticsLoggingTest.php | 2 +- .../system/src/Tests/System/SystemConfigFormTestBase.php | 2 +- .../modules/error_test/src/Controller/ErrorTestController.php | 2 +- .../Entity/EntityReferenceSelectionReferenceableTest.php | 2 +- .../taxonomy/src/Plugin/views/argument_default/Tid.php | 2 +- .../taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php | 2 +- .../taxonomy/src/Tests/TaxonomyTranslationTestTrait.php | 2 +- core/modules/taxonomy/src/VocabularyForm.php | 2 +- .../tests/src/Functional/TaxonomyTranslationTestTrait.php | 2 +- .../modules/text/tests/src/Kernel/TextWithSummaryItemTest.php | 2 +- .../src/Plugin/EntityReferenceSelection/ViewsSelection.php | 2 +- core/modules/views/src/Plugin/views/field/MachineName.php | 4 +++- core/tests/Drupal/KernelTests/ConfigFormTestBase.php | 2 +- core/tests/Drupal/KernelTests/TestServiceProvider.php | 2 +- core/tests/Drupal/Tests/BrowserTestBase.php | 2 +- .../Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php | 2 +- .../Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php | 2 +- core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php | 2 +- core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php | 2 +- .../Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php | 2 +- core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php | 2 +- 63 files changed, 68 insertions(+), 66 deletions(-) diff --git a/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php b/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php index 1fd808c17f7b..2e790eea0417 100644 --- a/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php +++ b/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php @@ -36,7 +36,7 @@ class ContainerAwareEventDispatcher implements EventDispatcherInterface { /** * The service container. * - * @var \Symfony\Component\DependencyInjection\ContainerInterface; + * @var \Symfony\Component\DependencyInjection\ContainerInterface */ protected $container; diff --git a/core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php b/core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php index cc968825ad62..d784cdb2c5f6 100644 --- a/core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php +++ b/core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php @@ -28,7 +28,7 @@ class QueryFactory implements QueryFactoryInterface, EventSubscriberInterface { /** * The config factory used by the config entity query. * - * @var \Drupal\Core\Config\ConfigFactoryInterface; + * @var \Drupal\Core\Config\ConfigFactoryInterface */ protected $configFactory; diff --git a/core/lib/Drupal/Core/Controller/HtmlFormController.php b/core/lib/Drupal/Core/Controller/HtmlFormController.php index 16bcc5853794..6dd27ee1e1d9 100644 --- a/core/lib/Drupal/Core/Controller/HtmlFormController.php +++ b/core/lib/Drupal/Core/Controller/HtmlFormController.php @@ -15,7 +15,7 @@ class HtmlFormController extends FormController { /** * The class resolver. * - * @var \Drupal\Core\DependencyInjection\ClassResolverInterface; + * @var \Drupal\Core\DependencyInjection\ClassResolverInterface */ protected $classResolver; diff --git a/core/lib/Drupal/Core/Form/EnforcedResponse.php b/core/lib/Drupal/Core/Form/EnforcedResponse.php index 2b1466d0a3cc..46dfdca6f1cc 100644 --- a/core/lib/Drupal/Core/Form/EnforcedResponse.php +++ b/core/lib/Drupal/Core/Form/EnforcedResponse.php @@ -23,7 +23,7 @@ class EnforcedResponse extends Response { /** * The wrapped response object. * - * @var \Symfony\Component\HttpFoundation\Response; + * @var \Symfony\Component\HttpFoundation\Response */ protected $response; diff --git a/core/lib/Drupal/Core/Path/AliasManager.php b/core/lib/Drupal/Core/Path/AliasManager.php index 6773e7983518..39472797ad64 100644 --- a/core/lib/Drupal/Core/Path/AliasManager.php +++ b/core/lib/Drupal/Core/Path/AliasManager.php @@ -22,7 +22,7 @@ class AliasManager implements AliasManagerInterface, CacheDecoratorInterface { /** * Cache backend service. * - * @var \Drupal\Core\Cache\CacheBackendInterface; + * @var \Drupal\Core\Cache\CacheBackendInterface */ protected $cache; diff --git a/core/lib/Drupal/Core/Routing/AccessAwareRouter.php b/core/lib/Drupal/Core/Routing/AccessAwareRouter.php index d8487c6ef92f..8f9e7beb296a 100644 --- a/core/lib/Drupal/Core/Routing/AccessAwareRouter.php +++ b/core/lib/Drupal/Core/Routing/AccessAwareRouter.php @@ -34,7 +34,7 @@ class AccessAwareRouter implements AccessAwareRouterInterface { /** * The account to use in access checks. * - * @var \Drupal\Core\Session\AccountInterface; + * @var \Drupal\Core\Session\AccountInterface */ protected $account; diff --git a/core/lib/Drupal/Core/Session/UserSession.php b/core/lib/Drupal/Core/Session/UserSession.php index f426803cebf1..3fdf94ceaafa 100644 --- a/core/lib/Drupal/Core/Session/UserSession.php +++ b/core/lib/Drupal/Core/Session/UserSession.php @@ -28,7 +28,7 @@ class UserSession implements AccountInterface { /** * The Unix timestamp when the user last accessed the site. * - * @var string. + * @var string */ protected $access; diff --git a/core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php b/core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php index b6aefcd71b1c..8fe6f8ca5a4a 100644 --- a/core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php +++ b/core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php @@ -31,7 +31,7 @@ class AutomatedCron implements EventSubscriberInterface { /** * The state key value store. * - * @var \Drupal\Core\State\StateInterface; + * @var \Drupal\Core\State\StateInterface */ protected $state; diff --git a/core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php b/core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php index 2a7c7710c309..cfe9d1b0d889 100644 --- a/core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php +++ b/core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php @@ -26,7 +26,7 @@ class BlockStorageUnitTest extends KernelTestBase { /** * The block storage. * - * @var \Drupal\Core\Config\Entity\ConfigEntityStorageInterface. + * @var \Drupal\Core\Config\Entity\ConfigEntityStorageInterface */ protected $controller; diff --git a/core/modules/block_content/src/Plugin/Block/BlockContentBlock.php b/core/modules/block_content/src/Plugin/Block/BlockContentBlock.php index 54f7ad58e1d3..6ca88d198a89 100644 --- a/core/modules/block_content/src/Plugin/Block/BlockContentBlock.php +++ b/core/modules/block_content/src/Plugin/Block/BlockContentBlock.php @@ -29,7 +29,7 @@ class BlockContentBlock extends BlockBase implements ContainerFactoryPluginInter /** * The Plugin Block Manager. * - * @var \Drupal\Core\Block\BlockManagerInterface. + * @var \Drupal\Core\Block\BlockManagerInterface */ protected $blockManager; @@ -43,7 +43,7 @@ class BlockContentBlock extends BlockBase implements ContainerFactoryPluginInter /** * The Drupal account to use for checking for access to block. * - * @var \Drupal\Core\Session\AccountInterface. + * @var \Drupal\Core\Session\AccountInterface */ protected $account; diff --git a/core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php b/core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php index de4c23fe839e..6ff5d20e6a60 100644 --- a/core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php +++ b/core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php @@ -24,7 +24,7 @@ class CKEditorTest extends KernelTestBase { /** * An instance of the "CKEditor" text editor plugin. * - * @var \Drupal\ckeditor\Plugin\Editor\CKEditor; + * @var \Drupal\ckeditor\Plugin\Editor\CKEditor */ protected $ckeditor; diff --git a/core/modules/comment/src/CommentForm.php b/core/modules/comment/src/CommentForm.php index 2c7da35b248c..c3ade4759929 100644 --- a/core/modules/comment/src/CommentForm.php +++ b/core/modules/comment/src/CommentForm.php @@ -41,7 +41,7 @@ class CommentForm extends ContentEntityForm { /** * The entity field manager. * - * @var \Drupal\Core\Entity\EntityFieldManagerInterface; + * @var \Drupal\Core\Entity\EntityFieldManagerInterface */ protected $entityFieldManager; diff --git a/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php b/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php index e2ddf8ab0eee..48db158f612a 100644 --- a/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php +++ b/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php @@ -60,7 +60,7 @@ class CommentLinkBuilderTest extends UnitTestCase { protected $timestamp; /** - * @var \Drupal\comment\CommentLinkBuilderInterface; + * @var \Drupal\comment\CommentLinkBuilderInterface */ protected $commentLinkBuilder; diff --git a/core/modules/config/src/Form/ConfigSingleImportForm.php b/core/modules/config/src/Form/ConfigSingleImportForm.php index 560f124c840d..83e776c0b0c1 100644 --- a/core/modules/config/src/Form/ConfigSingleImportForm.php +++ b/core/modules/config/src/Form/ConfigSingleImportForm.php @@ -62,7 +62,7 @@ class ConfigSingleImportForm extends ConfirmFormBase { /** * The configuration manager. * - * @var \Drupal\Core\Config\ConfigManagerInterface; + * @var \Drupal\Core\Config\ConfigManagerInterface */ protected $configManager; diff --git a/core/modules/config/src/Form/ConfigSync.php b/core/modules/config/src/Form/ConfigSync.php index 475c4a4a6379..44034ddabb38 100644 --- a/core/modules/config/src/Form/ConfigSync.php +++ b/core/modules/config/src/Form/ConfigSync.php @@ -64,7 +64,7 @@ class ConfigSync extends FormBase { /** * The configuration manager. * - * @var \Drupal\Core\Config\ConfigManagerInterface; + * @var \Drupal\Core\Config\ConfigManagerInterface */ protected $configManager; diff --git a/core/modules/contact/src/Access/ContactPageAccess.php b/core/modules/contact/src/Access/ContactPageAccess.php index 40307537cae2..203835796271 100644 --- a/core/modules/contact/src/Access/ContactPageAccess.php +++ b/core/modules/contact/src/Access/ContactPageAccess.php @@ -24,7 +24,7 @@ class ContactPageAccess implements AccessInterface { /** * The user data service. * - * @var \Drupal\user\UserDataInterface; + * @var \Drupal\user\UserDataInterface */ protected $userData; diff --git a/core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php b/core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php index e10756cf562f..7c0e2fca9533 100644 --- a/core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php +++ b/core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php @@ -17,7 +17,7 @@ class ContentModerationWorkflowTypeApiTest extends KernelTestBase { /** * A workflow for testing. * - * @var \Drupal\workflows\Entity\Workflow; + * @var \Drupal\workflows\Entity\Workflow */ protected $workflow; diff --git a/core/modules/editor/tests/src/Kernel/QuickEditIntegrationTest.php b/core/modules/editor/tests/src/Kernel/QuickEditIntegrationTest.php index 16c0773e7c94..1801cc84822f 100644 --- a/core/modules/editor/tests/src/Kernel/QuickEditIntegrationTest.php +++ b/core/modules/editor/tests/src/Kernel/QuickEditIntegrationTest.php @@ -38,7 +38,7 @@ class QuickEditIntegrationTest extends QuickEditTestBase { /** * The metadata generator object to be tested. * - * @var \Drupal\quickedit\MetadataGeneratorInterface.php + * @var \Drupal\quickedit\MetadataGeneratorInterface */ protected $metadataGenerator; diff --git a/core/modules/field/tests/src/Functional/FieldHelpTest.php b/core/modules/field/tests/src/Functional/FieldHelpTest.php index 9a6ff6782099..712edec99acf 100644 --- a/core/modules/field/tests/src/Functional/FieldHelpTest.php +++ b/core/modules/field/tests/src/Functional/FieldHelpTest.php @@ -14,7 +14,7 @@ class FieldHelpTest extends BrowserTestBase { /** * Modules to enable. * - * @var array. + * @var array */ public static $modules = ['field', 'help']; diff --git a/core/modules/field/tests/src/Kernel/ConfigFieldDefinitionTest.php b/core/modules/field/tests/src/Kernel/ConfigFieldDefinitionTest.php index 1e5e072c5929..a2a2c21d1e6b 100644 --- a/core/modules/field/tests/src/Kernel/ConfigFieldDefinitionTest.php +++ b/core/modules/field/tests/src/Kernel/ConfigFieldDefinitionTest.php @@ -15,7 +15,7 @@ class ConfigFieldDefinitionTest extends FieldKernelTestBase { /** * The entity manager service. * - * @var \Drupal\Core\Entity\EntityManagerInterface; + * @var \Drupal\Core\Entity\EntityManagerInterface */ protected $entityManager; diff --git a/core/modules/hal/src/LinkManager/RelationLinkManager.php b/core/modules/hal/src/LinkManager/RelationLinkManager.php index 803da7b45fa7..cf858c700898 100644 --- a/core/modules/hal/src/LinkManager/RelationLinkManager.php +++ b/core/modules/hal/src/LinkManager/RelationLinkManager.php @@ -13,7 +13,7 @@ class RelationLinkManager extends LinkManagerBase implements RelationLinkManagerInterface { /** - * @var \Drupal\Core\Cache\CacheBackendInterface; + * @var \Drupal\Core\Cache\CacheBackendInterface */ protected $cache; diff --git a/core/modules/hal/src/LinkManager/TypeLinkManager.php b/core/modules/hal/src/LinkManager/TypeLinkManager.php index 8145350144b1..62be23d2bca0 100644 --- a/core/modules/hal/src/LinkManager/TypeLinkManager.php +++ b/core/modules/hal/src/LinkManager/TypeLinkManager.php @@ -14,7 +14,7 @@ class TypeLinkManager extends LinkManagerBase implements TypeLinkManagerInterfac /** * Injected cache backend. * - * @var \Drupal\Core\Cache\CacheBackendInterface; + * @var \Drupal\Core\Cache\CacheBackendInterface */ protected $cache; diff --git a/core/modules/help/tests/src/Functional/HelpTest.php b/core/modules/help/tests/src/Functional/HelpTest.php index dff11ef173c6..3965b53cde9a 100644 --- a/core/modules/help/tests/src/Functional/HelpTest.php +++ b/core/modules/help/tests/src/Functional/HelpTest.php @@ -18,7 +18,7 @@ class HelpTest extends BrowserTestBase { * overview page. The help_page_test module has a page section plugin that * returns no links. * - * @var array. + * @var array */ public static $modules = ['help_test', 'help_page_test']; diff --git a/core/modules/help/tests/src/Functional/NoHelpTest.php b/core/modules/help/tests/src/Functional/NoHelpTest.php index acb2563aee1a..5df945e35cd0 100644 --- a/core/modules/help/tests/src/Functional/NoHelpTest.php +++ b/core/modules/help/tests/src/Functional/NoHelpTest.php @@ -16,7 +16,7 @@ class NoHelpTest extends BrowserTestBase { * * Use one of the test modules that do not implement hook_help(). * - * @var array. + * @var array */ public static $modules = ['help', 'menu_test']; diff --git a/core/modules/history/tests/src/Functional/HistoryTest.php b/core/modules/history/tests/src/Functional/HistoryTest.php index 065b9af7aab9..d12bbccaf53c 100644 --- a/core/modules/history/tests/src/Functional/HistoryTest.php +++ b/core/modules/history/tests/src/Functional/HistoryTest.php @@ -41,14 +41,14 @@ class HistoryTest extends BrowserTestBase { /** * The cookie jar holding the testing session cookies for Guzzle requests. * - * @var \GuzzleHttp\Client; + * @var \GuzzleHttp\Client */ protected $client; /** * The Guzzle HTTP client. * - * @var \GuzzleHttp\Cookie\CookieJar; + * @var \GuzzleHttp\Cookie\CookieJar */ protected $cookies; diff --git a/core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php b/core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php index b1effda1db7f..271194f9c4c1 100644 --- a/core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php +++ b/core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php @@ -34,7 +34,7 @@ class LanguageRequestSubscriber implements EventSubscriberInterface { /** * The translation service. * - * @var \Drupal\Core\StringTranslation\Translator\TranslatorInterface; + * @var \Drupal\Core\StringTranslation\Translator\TranslatorInterface */ protected $translation; diff --git a/core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php b/core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php index 3d027c3fb5d8..9526d226fdd7 100644 --- a/core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php +++ b/core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php @@ -29,7 +29,7 @@ class LanguageSelectorTranslatableTest extends BrowserTestBase { /** * The user with administrator privileges. * - * @var \Drupal\user\Entity\User; + * @var \Drupal\user\Entity\User */ public $administrator; diff --git a/core/modules/locale/src/LocaleConfigManager.php b/core/modules/locale/src/LocaleConfigManager.php index 18f335c10bc0..547a1b504fcb 100644 --- a/core/modules/locale/src/LocaleConfigManager.php +++ b/core/modules/locale/src/LocaleConfigManager.php @@ -43,7 +43,7 @@ class LocaleConfigManager { /** * The string storage for reading and writing translations. * - * @var \Drupal\locale\StringStorageInterface; + * @var \Drupal\locale\StringStorageInterface */ protected $localeStorage; diff --git a/core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php b/core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php index 0368350f0adb..128b7b1d30c2 100644 --- a/core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php +++ b/core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php @@ -37,7 +37,7 @@ class LocaleConfigSubscriberTest extends KernelTestBase { /** * The string storage used in this test. * - * @var \Drupal\locale\StringStorageInterface; + * @var \Drupal\locale\StringStorageInterface */ protected $stringStorage; diff --git a/core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php b/core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php index 708addf03a4c..af9f35c37fe2 100644 --- a/core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php +++ b/core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php @@ -72,7 +72,7 @@ class EntityConfigBase extends Entity { /** * The configuration factory. * - * @var \Drupal\Core\Config\ConfigFactoryInterface; + * @var \Drupal\Core\Config\ConfigFactoryInterface */ protected $configFactory; diff --git a/core/modules/migrate/tests/src/Unit/MigrateSqlSourceTestCase.php b/core/modules/migrate/tests/src/Unit/MigrateSqlSourceTestCase.php index 5f0d550cf7f5..9fe27ba9111d 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateSqlSourceTestCase.php +++ b/core/modules/migrate/tests/src/Unit/MigrateSqlSourceTestCase.php @@ -19,7 +19,7 @@ abstract class MigrateSqlSourceTestCase extends MigrateTestCase { /** * The tested source plugin. * - * @var \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase. + * @var \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase */ protected $source; diff --git a/core/modules/migrate/tests/src/Unit/MigrateTestCase.php b/core/modules/migrate/tests/src/Unit/MigrateTestCase.php index 558cecb94af0..5c1dd118ed92 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateTestCase.php +++ b/core/modules/migrate/tests/src/Unit/MigrateTestCase.php @@ -29,7 +29,7 @@ abstract class MigrateTestCase extends UnitTestCase { /** * Local store for mocking setStatus()/getStatus(). * - * @var \Drupal\migrate\Plugin\MigrationInterface::STATUS_* + * @var int */ protected $migrationStatus = MigrationInterface::STATUS_IDLE; diff --git a/core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php b/core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php index a00f1582bb7e..0543bb703206 100644 --- a/core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php +++ b/core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php @@ -60,7 +60,7 @@ class MigrateUpgradeImportBatch { /** * The follow-up migrations. * - * @var \Drupal\migrate\Plugin\MigrationInterface[]; + * @var \Drupal\migrate\Plugin\MigrationInterface[] */ protected static $followUpMigrations; diff --git a/core/modules/node/tests/src/Functional/NodeAccessLanguageAwareCombinationTest.php b/core/modules/node/tests/src/Functional/NodeAccessLanguageAwareCombinationTest.php index e388afcbcb4b..bc78291e3f40 100644 --- a/core/modules/node/tests/src/Functional/NodeAccessLanguageAwareCombinationTest.php +++ b/core/modules/node/tests/src/Functional/NodeAccessLanguageAwareCombinationTest.php @@ -34,14 +34,14 @@ class NodeAccessLanguageAwareCombinationTest extends NodeTestBase { /** * A normal authenticated user. * - * @var \Drupal\user\UserInterface. + * @var \Drupal\user\UserInterface */ protected $webUser; /** * User 1. * - * @var \Drupal\user\UserInterface. + * @var \Drupal\user\UserInterface */ protected $adminUser; diff --git a/core/modules/node/tests/src/Functional/NodeHelpTest.php b/core/modules/node/tests/src/Functional/NodeHelpTest.php index c4b713921481..4dad41618536 100644 --- a/core/modules/node/tests/src/Functional/NodeHelpTest.php +++ b/core/modules/node/tests/src/Functional/NodeHelpTest.php @@ -14,7 +14,7 @@ class NodeHelpTest extends BrowserTestBase { /** * Modules to enable. * - * @var array. + * @var array */ public static $modules = ['block', 'node', 'help']; diff --git a/core/modules/page_cache/src/StackMiddleware/PageCache.php b/core/modules/page_cache/src/StackMiddleware/PageCache.php index 82456b13ddda..ca9a73371ab9 100644 --- a/core/modules/page_cache/src/StackMiddleware/PageCache.php +++ b/core/modules/page_cache/src/StackMiddleware/PageCache.php @@ -29,7 +29,7 @@ class PageCache implements HttpKernelInterface { /** * The cache bin. * - * @var \Drupal\Core\Cache\CacheBackendInterface. + * @var \Drupal\Core\Cache\CacheBackendInterface */ protected $cache; diff --git a/core/modules/quickedit/src/EditorSelector.php b/core/modules/quickedit/src/EditorSelector.php index 9149786f04e7..7eb73068c1fb 100644 --- a/core/modules/quickedit/src/EditorSelector.php +++ b/core/modules/quickedit/src/EditorSelector.php @@ -22,7 +22,7 @@ class EditorSelector implements EditorSelectorInterface { /** * The manager for formatter plugins. * - * @var \Drupal\Core\Field\FormatterPluginManager. + * @var \Drupal\Core\Field\FormatterPluginManager */ protected $formatterManager; diff --git a/core/modules/quickedit/tests/src/Kernel/MetadataGeneratorTest.php b/core/modules/quickedit/tests/src/Kernel/MetadataGeneratorTest.php index e0079e402fae..75f303049476 100644 --- a/core/modules/quickedit/tests/src/Kernel/MetadataGeneratorTest.php +++ b/core/modules/quickedit/tests/src/Kernel/MetadataGeneratorTest.php @@ -30,7 +30,7 @@ class MetadataGeneratorTest extends QuickEditTestBase { /** * The metadata generator object to be tested. * - * @var \Drupal\quickedit\MetadataGeneratorInterface.php + * @var \Drupal\quickedit\MetadataGeneratorInterface */ protected $metadataGenerator; diff --git a/core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php b/core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php index 62b33e6f20e3..ef5362a0edd8 100644 --- a/core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php +++ b/core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php @@ -48,7 +48,7 @@ class EntitySerializationTest extends NormalizerTestBase { /** * The serializer service. * - * @var \Symfony\Component\Serializer\Serializer. + * @var \Symfony\Component\Serializer\Serializer */ protected $serializer; diff --git a/core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php b/core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php index 3e41d6303740..403f41ab2bc4 100644 --- a/core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php +++ b/core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php @@ -43,7 +43,7 @@ class FieldItemSerializationTest extends NormalizerTestBase { /** * The serializer service. * - * @var \Symfony\Component\Serializer\Serializer. + * @var \Symfony\Component\Serializer\Serializer */ protected $serializer; diff --git a/core/modules/simpletest/src/KernelTestBase.php b/core/modules/simpletest/src/KernelTestBase.php index c8b8669d542b..acf6b3e89988 100644 --- a/core/modules/simpletest/src/KernelTestBase.php +++ b/core/modules/simpletest/src/KernelTestBase.php @@ -102,7 +102,7 @@ abstract class KernelTestBase extends TestBase { /** * A KeyValueMemoryFactory instance to use when building the container. * - * @var \Drupal\Core\KeyValueStore\KeyValueMemoryFactory. + * @var \Drupal\Core\KeyValueStore\KeyValueMemoryFactory */ protected $keyValueFactory; diff --git a/core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php b/core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php index f4c22bd8a77c..1c714dc689ac 100644 --- a/core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php +++ b/core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php @@ -38,7 +38,7 @@ class StatisticsAdminTest extends BrowserTestBase { /** * The Guzzle HTTP client. * - * @var \GuzzleHttp\Client; + * @var \GuzzleHttp\Client */ protected $client; diff --git a/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php b/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php index 09565aefae73..ec2d2a5bb92b 100644 --- a/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php +++ b/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php @@ -39,7 +39,7 @@ class StatisticsLoggingTest extends BrowserTestBase { /** * The Guzzle HTTP client. * - * @var \GuzzleHttp\Client; + * @var \GuzzleHttp\Client */ protected $client; diff --git a/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php b/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php index 6cf9079d5a3f..0abbfd3f19bd 100644 --- a/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php +++ b/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php @@ -22,7 +22,7 @@ abstract class SystemConfigFormTestBase extends WebTestBase { /** * Form ID to use for testing. * - * @var \Drupal\Core\Form\FormInterface. + * @var \Drupal\Core\Form\FormInterface */ protected $form; diff --git a/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php b/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php index 2ba4869d8ad6..c64da6dc23f1 100644 --- a/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php +++ b/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php @@ -14,7 +14,7 @@ class ErrorTestController extends ControllerBase { /** * The database connection. * - * @var \Drupal\Core\Database\Connection; + * @var \Drupal\Core\Database\Connection */ protected $database; diff --git a/core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php b/core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php index 8ccca7e44f42..058f83bb933f 100644 --- a/core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php +++ b/core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php @@ -34,7 +34,7 @@ class EntityReferenceSelectionReferenceableTest extends KernelTestBase { /** * The selection handler. * - * @var \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface. + * @var \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface */ protected $selectionHandler; diff --git a/core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php b/core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php index ee5a2602d8da..6d8545b0ee55 100644 --- a/core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php +++ b/core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php @@ -34,7 +34,7 @@ class Tid extends ArgumentDefaultPluginBase implements CacheableDependencyInterf /** * The vocabulary storage. * - * @var \Drupal\taxonomy\VocabularyStorageInterface. + * @var \Drupal\taxonomy\VocabularyStorageInterface */ protected $vocabularyStorage; diff --git a/core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php b/core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php index 367565c38757..45f0095dbe16 100644 --- a/core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php +++ b/core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php @@ -21,7 +21,7 @@ class TaxonomyIndexTid extends PrerenderList { /** * The vocabulary storage. * - * @var \Drupal\taxonomy\VocabularyStorageInterface. + * @var \Drupal\taxonomy\VocabularyStorageInterface */ protected $vocabularyStorage; diff --git a/core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php b/core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php index 9b952ebbe370..6f2f1198733f 100644 --- a/core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php +++ b/core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php @@ -22,7 +22,7 @@ trait TaxonomyTranslationTestTrait { /** * The vocabulary. * - * @var \Drupal\taxonomy\Entity\Vocabulary; + * @var \Drupal\taxonomy\Entity\Vocabulary */ protected $vocabulary; diff --git a/core/modules/taxonomy/src/VocabularyForm.php b/core/modules/taxonomy/src/VocabularyForm.php index 83603e370222..61b3638ec24e 100644 --- a/core/modules/taxonomy/src/VocabularyForm.php +++ b/core/modules/taxonomy/src/VocabularyForm.php @@ -19,7 +19,7 @@ class VocabularyForm extends BundleEntityFormBase { /** * The vocabulary storage. * - * @var \Drupal\taxonomy\VocabularyStorageInterface. + * @var \Drupal\taxonomy\VocabularyStorageInterface */ protected $vocabularyStorage; diff --git a/core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php b/core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php index a7fd54b020c2..a817e12354a8 100644 --- a/core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php +++ b/core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php @@ -17,7 +17,7 @@ trait TaxonomyTranslationTestTrait { /** * The vocabulary. * - * @var \Drupal\taxonomy\Entity\Vocabulary; + * @var \Drupal\taxonomy\Entity\Vocabulary */ protected $vocabulary; diff --git a/core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php b/core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php index c110ba104981..195250abb906 100644 --- a/core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php +++ b/core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php @@ -26,7 +26,7 @@ class TextWithSummaryItemTest extends FieldKernelTestBase { /** * Field storage entity. * - * @var \Drupal\field\Entity\FieldStorageConfig. + * @var \Drupal\field\Entity\FieldStorageConfig */ protected $fieldStorage; diff --git a/core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php b/core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php index c6d9137888d1..aa791651fc82 100644 --- a/core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php +++ b/core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php @@ -26,7 +26,7 @@ class ViewsSelection extends SelectionPluginBase implements ContainerFactoryPlug /** * The loaded View object. * - * @var \Drupal\views\ViewExecutable; + * @var \Drupal\views\ViewExecutable */ protected $view; diff --git a/core/modules/views/src/Plugin/views/field/MachineName.php b/core/modules/views/src/Plugin/views/field/MachineName.php index ea6a0c4be1fd..b8ba62a4b622 100644 --- a/core/modules/views/src/Plugin/views/field/MachineName.php +++ b/core/modules/views/src/Plugin/views/field/MachineName.php @@ -18,7 +18,9 @@ class MachineName extends FieldPluginBase { /** - * @var array Stores the available options. + * Stores the available options. + * + * @var array */ protected $valueOptions; diff --git a/core/tests/Drupal/KernelTests/ConfigFormTestBase.php b/core/tests/Drupal/KernelTests/ConfigFormTestBase.php index 9997dc54ba89..6436247357aa 100644 --- a/core/tests/Drupal/KernelTests/ConfigFormTestBase.php +++ b/core/tests/Drupal/KernelTests/ConfigFormTestBase.php @@ -14,7 +14,7 @@ abstract class ConfigFormTestBase extends KernelTestBase { /** * Form ID to use for testing. * - * @var \Drupal\Core\Form\FormInterface. + * @var \Drupal\Core\Form\FormInterface */ protected $form; diff --git a/core/tests/Drupal/KernelTests/TestServiceProvider.php b/core/tests/Drupal/KernelTests/TestServiceProvider.php index cc4944e224e2..4ae3ceb38dec 100644 --- a/core/tests/Drupal/KernelTests/TestServiceProvider.php +++ b/core/tests/Drupal/KernelTests/TestServiceProvider.php @@ -13,7 +13,7 @@ class TestServiceProvider implements ServiceProviderInterface, ServiceModifierInterface { /** - * @var \Drupal\simpletest\TestBase; + * @var \Drupal\simpletest\TestBase */ public static $currentTest; diff --git a/core/tests/Drupal/Tests/BrowserTestBase.php b/core/tests/Drupal/Tests/BrowserTestBase.php index 433ec38f411d..75206c96e184 100644 --- a/core/tests/Drupal/Tests/BrowserTestBase.php +++ b/core/tests/Drupal/Tests/BrowserTestBase.php @@ -140,7 +140,7 @@ abstract class BrowserTestBase extends TestCase { * * Value can be overridden using the environment variable MINK_DRIVER_CLASS. * - * @var string. + * @var string */ protected $minkDefaultDriverClass = GoutteDriver::class; diff --git a/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php index badb981393dd..3b56cbd5fcb4 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php @@ -15,7 +15,7 @@ class CssCollectionGrouperUnitTest extends UnitTestCase { /** * A CSS asset grouper. * - * @var \Drupal\Core\Asset\CssCollectionGrouper object. + * @var \Drupal\Core\Asset\CssCollectionGrouper */ protected $grouper; diff --git a/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php index 18c7b0080eb6..4c238cebd739 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php @@ -15,7 +15,7 @@ class CssCollectionRendererUnitTest extends UnitTestCase { /** * A CSS asset renderer. * - * @var \Drupal\Core\Asset\CssRenderer object. + * @var \Drupal\Core\Asset\CssCollectionRenderer */ protected $renderer; diff --git a/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php index f2e70b9fd595..5b71a1ca5f64 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php @@ -20,7 +20,7 @@ class CssOptimizerUnitTest extends UnitTestCase { /** * A CSS asset optimizer. * - * @var \Drupal\Core\Asset\CssOptimizer object. + * @var \Drupal\Core\Asset\CssOptimizer */ protected $optimizer; diff --git a/core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php index 39a4d00f6181..204c0bd4ccd3 100644 --- a/core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php @@ -15,7 +15,7 @@ class JsOptimizerUnitTest extends UnitTestCase { /** * A JS asset optimizer. * - * @var \Drupal\Core\Asset\JsOptimizer object. + * @var \Drupal\Core\Asset\JsOptimizer */ protected $optimizer; diff --git a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php index a18e41076d10..bf7c8f7f6a79 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php @@ -51,7 +51,7 @@ class SqlContentEntityStorageSchemaTest extends UnitTestCase { /** * The storage schema handler used in this test. * - * @var \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema|\PHPUnit_Framework_MockObject_MockObject. + * @var \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema|\PHPUnit_Framework_MockObject_MockObject */ protected $storageSchema; diff --git a/core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php b/core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php index c7639388fd10..2cc6edb884e2 100644 --- a/core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php @@ -38,7 +38,7 @@ class MenuActiveTrailTest extends UnitTestCase { /** * The current route match service. * - * @var \Drupal\Core\Routing\CurrentRouteMatch; + * @var \Drupal\Core\Routing\CurrentRouteMatch */ protected $currentRouteMatch; -- GitLab