Unverified Commit 0d6d22af authored by larowlan's avatar larowlan

Issue #2926120 by idebr, zaporylie, borisson_: @var tag must not end with a full stop

parent 251c9962
......@@ -36,7 +36,7 @@ class ContainerAwareEventDispatcher implements EventDispatcherInterface {
/**
* The service container.
*
* @var \Symfony\Component\DependencyInjection\ContainerInterface;
* @var \Symfony\Component\DependencyInjection\ContainerInterface
*/
protected $container;
......
......@@ -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;
......
......@@ -15,7 +15,7 @@ class HtmlFormController extends FormController {
/**
* The class resolver.
*
* @var \Drupal\Core\DependencyInjection\ClassResolverInterface;
* @var \Drupal\Core\DependencyInjection\ClassResolverInterface
*/
protected $classResolver;
......
......@@ -23,7 +23,7 @@ class EnforcedResponse extends Response {
/**
* The wrapped response object.
*
* @var \Symfony\Component\HttpFoundation\Response;
* @var \Symfony\Component\HttpFoundation\Response
*/
protected $response;
......
......@@ -22,7 +22,7 @@ class AliasManager implements AliasManagerInterface, CacheDecoratorInterface {
/**
* Cache backend service.
*
* @var \Drupal\Core\Cache\CacheBackendInterface;
* @var \Drupal\Core\Cache\CacheBackendInterface
*/
protected $cache;
......
......@@ -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;
......
......@@ -28,7 +28,7 @@ class UserSession implements AccountInterface {
/**
* The Unix timestamp when the user last accessed the site.
*
* @var string.
* @var string
*/
protected $access;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -41,7 +41,7 @@ class CommentForm extends ContentEntityForm {
/**
* The entity field manager.
*
* @var \Drupal\Core\Entity\EntityFieldManagerInterface;
* @var \Drupal\Core\Entity\EntityFieldManagerInterface
*/
protected $entityFieldManager;
......
......@@ -60,7 +60,7 @@ class CommentLinkBuilderTest extends UnitTestCase {
protected $timestamp;
/**
* @var \Drupal\comment\CommentLinkBuilderInterface;
* @var \Drupal\comment\CommentLinkBuilderInterface
*/
protected $commentLinkBuilder;
......
......@@ -62,7 +62,7 @@ class ConfigSingleImportForm extends ConfirmFormBase {
/**
* The configuration manager.
*
* @var \Drupal\Core\Config\ConfigManagerInterface;
* @var \Drupal\Core\Config\ConfigManagerInterface
*/
protected $configManager;
......
......@@ -64,7 +64,7 @@ class ConfigSync extends FormBase {
/**
* The configuration manager.
*
* @var \Drupal\Core\Config\ConfigManagerInterface;
* @var \Drupal\Core\Config\ConfigManagerInterface
*/
protected $configManager;
......
......@@ -24,7 +24,7 @@ class ContactPageAccess implements AccessInterface {
/**
* The user data service.
*
* @var \Drupal\user\UserDataInterface;
* @var \Drupal\user\UserDataInterface
*/
protected $userData;
......
......@@ -17,7 +17,7 @@ class ContentModerationWorkflowTypeApiTest extends KernelTestBase {
/**
* A workflow for testing.
*
* @var \Drupal\workflows\Entity\Workflow;
* @var \Drupal\workflows\Entity\Workflow
*/
protected $workflow;
......
......@@ -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;
......
......@@ -14,7 +14,7 @@ class FieldHelpTest extends BrowserTestBase {
/**
* Modules to enable.
*
* @var array.
* @var array
*/
public static $modules = ['field', 'help'];
......
......@@ -15,7 +15,7 @@ class ConfigFieldDefinitionTest extends FieldKernelTestBase {
/**
* The entity manager service.
*
* @var \Drupal\Core\Entity\EntityManagerInterface;
* @var \Drupal\Core\Entity\EntityManagerInterface
*/
protected $entityManager;
......
......@@ -13,7 +13,7 @@
class RelationLinkManager extends LinkManagerBase implements RelationLinkManagerInterface {
/**
* @var \Drupal\Core\Cache\CacheBackendInterface;
* @var \Drupal\Core\Cache\CacheBackendInterface
*/
protected $cache;
......
......@@ -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;
......
......@@ -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'];
......
......@@ -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'];
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -43,7 +43,7 @@ class LocaleConfigManager {
/**
* The string storage for reading and writing translations.
*
* @var \Drupal\locale\StringStorageInterface;
* @var \Drupal\locale\StringStorageInterface
*/
protected $localeStorage;
......
......@@ -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;
......
......@@ -72,7 +72,7 @@ class EntityConfigBase extends Entity {
/**
* The configuration factory.
*
* @var \Drupal\Core\Config\ConfigFactoryInterface;
* @var \Drupal\Core\Config\ConfigFactoryInterface
*/
protected $configFactory;
......
......@@ -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;
......
......@@ -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;
......
......@@ -60,7 +60,7 @@ class MigrateUpgradeImportBatch {
/**
* The follow-up migrations.
*
* @var \Drupal\migrate\Plugin\MigrationInterface[];
* @var \Drupal\migrate\Plugin\MigrationInterface[]
*/
protected static $followUpMigrations;
......
......@@ -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;
......
......@@ -14,7 +14,7 @@ class NodeHelpTest extends BrowserTestBase {
/**
* Modules to enable.
*
* @var array.
* @var array
*/
public static $modules = ['block', 'node', 'help'];
......
......@@ -29,7 +29,7 @@ class PageCache implements HttpKernelInterface {
/**
* The cache bin.
*
* @var \Drupal\Core\Cache\CacheBackendInterface.
* @var \Drupal\Core\Cache\CacheBackendInterface
*/
protected $cache;
......
......@@ -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;
......
......@@ -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;
......
......@@ -48,7 +48,7 @@ class EntitySerializationTest extends NormalizerTestBase {
/**
* The serializer service.
*
* @var \Symfony\Component\Serializer\Serializer.
* @var \Symfony\Component\Serializer\Serializer
*/
protected $serializer;
......
......@@ -43,7 +43,7 @@ class FieldItemSerializationTest extends NormalizerTestBase {
/**
* The serializer service.
*
* @var \Symfony\Component\Serializer\Serializer.
* @var \Symfony\Component\Serializer\Serializer
*/
protected $serializer;
......
......@@ -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;
......
......@@ -38,7 +38,7 @@ class StatisticsAdminTest extends BrowserTestBase {
/**
* The Guzzle HTTP client.
*
* @var \GuzzleHttp\Client;
* @var \GuzzleHttp\Client
*/
protected $client;
......
......@@ -39,7 +39,7 @@ class StatisticsLoggingTest extends BrowserTestBase {
/**
* The Guzzle HTTP client.
*
* @var \GuzzleHttp\Client;
* @var \GuzzleHttp\Client
*/
protected $client;
......
......@@ -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;
......
......@@ -14,7 +14,7 @@ class ErrorTestController extends ControllerBase {
/**
* The database connection.
*
* @var \Drupal\Core\Database\Connection;
* @var \Drupal\Core\Database\Connection
*/
protected $database;
......
......@@ -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;
......
......@@ -34,7 +34,7 @@ class Tid extends ArgumentDefaultPluginBase implements CacheableDependencyInterf
/**
* The vocabulary storage.
*
* @var \Drupal\taxonomy\VocabularyStorageInterface.
* @var \Drupal\taxonomy\VocabularyStorageInterface
*/
protected $vocabularyStorage;
......
......@@ -21,7 +21,7 @@ class TaxonomyIndexTid extends PrerenderList {
/**
* The vocabulary storage.
*
* @var \Drupal\taxonomy\VocabularyStorageInterface.
* @var \Drupal\taxonomy\VocabularyStorageInterface
*/
protected $vocabularyStorage;
......
......@@ -22,7 +22,7 @@ trait TaxonomyTranslationTestTrait {
/**
* The vocabulary.
*
* @var \Drupal\taxonomy\Entity\Vocabulary;
* @var \Drupal\taxonomy\Entity\Vocabulary
*/
protected $vocabulary;
......
......@@ -19,7 +19,7 @@ class VocabularyForm extends BundleEntityFormBase {
/**
* The vocabulary storage.
*
* @var \Drupal\taxonomy\VocabularyStorageInterface.
* @var \Drupal\taxonomy\VocabularyStorageInterface
*/
protected $vocabularyStorage;
......
......@@ -17,7 +17,7 @@ trait TaxonomyTranslationTestTrait {
/**
* The vocabulary.
*
* @var \Drupal\taxonomy\Entity\Vocabulary;
* @var \Drupal\taxonomy\Entity\Vocabulary
*/
protected $vocabulary;
......
......@@ -26,7 +26,7 @@ class TextWithSummaryItemTest extends FieldKernelTestBase {
/**
* Field storage entity.
*
* @var \Drupal\field\Entity\FieldStorageConfig.
* @var \Drupal\field\Entity\FieldStorageConfig
*/
protected $fieldStorage;
......
......@@ -26,7 +26,7 @@ class ViewsSelection extends SelectionPluginBase implements ContainerFactoryPlug
/**
* The loaded View object.
*
* @var \Drupal\views\ViewExecutable;
* @var \Drupal\views\ViewExecutable
*/
protected $view;
......
......@@ -18,7 +18,9 @@
class MachineName extends FieldPluginBase {
/**
* @var array Stores the available options.
* Stores the available options.
*
* @var array
*/
protected $valueOptions;
......
......@@ -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;
......
......@@ -13,7 +13,7 @@
class TestServiceProvider implements ServiceProviderInterface, ServiceModifierInterface {
/**
* @var \Drupal\simpletest\TestBase;
* @var \Drupal\simpletest\TestBase
*/
public static $currentTest;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment