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

merge-requests/1654/head
Lee Rowlands 2018-05-15 06:49:38 +10:00
parent 251c996272
commit 0d6d22af0b
No known key found for this signature in database
GPG Key ID: 2B829A3DF9204DC4
63 changed files with 68 additions and 66 deletions

View File

@ -36,7 +36,7 @@ class ContainerAwareEventDispatcher implements EventDispatcherInterface {
/**
* The service container.
*
* @var \Symfony\Component\DependencyInjection\ContainerInterface;
* @var \Symfony\Component\DependencyInjection\ContainerInterface
*/
protected $container;

View File

@ -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;

View File

@ -15,7 +15,7 @@ class HtmlFormController extends FormController {
/**
* The class resolver.
*
* @var \Drupal\Core\DependencyInjection\ClassResolverInterface;
* @var \Drupal\Core\DependencyInjection\ClassResolverInterface
*/
protected $classResolver;

View File

@ -23,7 +23,7 @@ class EnforcedResponse extends Response {
/**
* The wrapped response object.
*
* @var \Symfony\Component\HttpFoundation\Response;
* @var \Symfony\Component\HttpFoundation\Response
*/
protected $response;

View File

@ -22,7 +22,7 @@ class AliasManager implements AliasManagerInterface, CacheDecoratorInterface {
/**
* Cache backend service.
*
* @var \Drupal\Core\Cache\CacheBackendInterface;
* @var \Drupal\Core\Cache\CacheBackendInterface
*/
protected $cache;

View File

@ -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;

View File

@ -28,7 +28,7 @@ class UserSession implements AccountInterface {
/**
* The Unix timestamp when the user last accessed the site.
*
* @var string.
* @var string
*/
protected $access;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -41,7 +41,7 @@ class CommentForm extends ContentEntityForm {
/**
* The entity field manager.
*
* @var \Drupal\Core\Entity\EntityFieldManagerInterface;
* @var \Drupal\Core\Entity\EntityFieldManagerInterface
*/
protected $entityFieldManager;

View File

@ -60,7 +60,7 @@ class CommentLinkBuilderTest extends UnitTestCase {
protected $timestamp;
/**
* @var \Drupal\comment\CommentLinkBuilderInterface;
* @var \Drupal\comment\CommentLinkBuilderInterface
*/
protected $commentLinkBuilder;

View File

@ -62,7 +62,7 @@ class ConfigSingleImportForm extends ConfirmFormBase {
/**
* The configuration manager.
*
* @var \Drupal\Core\Config\ConfigManagerInterface;
* @var \Drupal\Core\Config\ConfigManagerInterface
*/
protected $configManager;

View File

@ -64,7 +64,7 @@ class ConfigSync extends FormBase {
/**
* The configuration manager.
*
* @var \Drupal\Core\Config\ConfigManagerInterface;
* @var \Drupal\Core\Config\ConfigManagerInterface
*/
protected $configManager;

View File

@ -24,7 +24,7 @@ class ContactPageAccess implements AccessInterface {
/**
* The user data service.
*
* @var \Drupal\user\UserDataInterface;
* @var \Drupal\user\UserDataInterface
*/
protected $userData;

View File

@ -17,7 +17,7 @@ class ContentModerationWorkflowTypeApiTest extends KernelTestBase {
/**
* A workflow for testing.
*
* @var \Drupal\workflows\Entity\Workflow;
* @var \Drupal\workflows\Entity\Workflow
*/
protected $workflow;

View File

@ -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;

View File

@ -14,7 +14,7 @@ class FieldHelpTest extends BrowserTestBase {
/**
* Modules to enable.
*
* @var array.
* @var array
*/
public static $modules = ['field', 'help'];

View File

@ -15,7 +15,7 @@ class ConfigFieldDefinitionTest extends FieldKernelTestBase {
/**
* The entity manager service.
*
* @var \Drupal\Core\Entity\EntityManagerInterface;
* @var \Drupal\Core\Entity\EntityManagerInterface
*/
protected $entityManager;

View File

@ -13,7 +13,7 @@ use Symfony\Component\HttpFoundation\RequestStack;
class RelationLinkManager extends LinkManagerBase implements RelationLinkManagerInterface {
/**
* @var \Drupal\Core\Cache\CacheBackendInterface;
* @var \Drupal\Core\Cache\CacheBackendInterface
*/
protected $cache;

View File

@ -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;

View File

@ -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'];

View File

@ -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'];

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -43,7 +43,7 @@ class LocaleConfigManager {
/**
* The string storage for reading and writing translations.
*
* @var \Drupal\locale\StringStorageInterface;
* @var \Drupal\locale\StringStorageInterface
*/
protected $localeStorage;

View File

@ -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;

View File

@ -72,7 +72,7 @@ class EntityConfigBase extends Entity {
/**
* The configuration factory.
*
* @var \Drupal\Core\Config\ConfigFactoryInterface;
* @var \Drupal\Core\Config\ConfigFactoryInterface
*/
protected $configFactory;

View File

@ -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;

View File

@ -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;

View File

@ -60,7 +60,7 @@ class MigrateUpgradeImportBatch {
/**
* The follow-up migrations.
*
* @var \Drupal\migrate\Plugin\MigrationInterface[];
* @var \Drupal\migrate\Plugin\MigrationInterface[]
*/
protected static $followUpMigrations;

View File

@ -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;

View File

@ -14,7 +14,7 @@ class NodeHelpTest extends BrowserTestBase {
/**
* Modules to enable.
*
* @var array.
* @var array
*/
public static $modules = ['block', 'node', 'help'];

View File

@ -29,7 +29,7 @@ class PageCache implements HttpKernelInterface {
/**
* The cache bin.
*
* @var \Drupal\Core\Cache\CacheBackendInterface.
* @var \Drupal\Core\Cache\CacheBackendInterface
*/
protected $cache;

View File

@ -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;

View File

@ -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;

View File

@ -48,7 +48,7 @@ class EntitySerializationTest extends NormalizerTestBase {
/**
* The serializer service.
*
* @var \Symfony\Component\Serializer\Serializer.
* @var \Symfony\Component\Serializer\Serializer
*/
protected $serializer;

View File

@ -43,7 +43,7 @@ class FieldItemSerializationTest extends NormalizerTestBase {
/**
* The serializer service.
*
* @var \Symfony\Component\Serializer\Serializer.
* @var \Symfony\Component\Serializer\Serializer
*/
protected $serializer;

View File

@ -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;

View File

@ -38,7 +38,7 @@ class StatisticsAdminTest extends BrowserTestBase {
/**
* The Guzzle HTTP client.
*
* @var \GuzzleHttp\Client;
* @var \GuzzleHttp\Client
*/
protected $client;

View File

@ -39,7 +39,7 @@ class StatisticsLoggingTest extends BrowserTestBase {
/**
* The Guzzle HTTP client.
*
* @var \GuzzleHttp\Client;
* @var \GuzzleHttp\Client
*/
protected $client;

View File

@ -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;

View File

@ -14,7 +14,7 @@ class ErrorTestController extends ControllerBase {
/**
* The database connection.
*
* @var \Drupal\Core\Database\Connection;
* @var \Drupal\Core\Database\Connection
*/
protected $database;

View File

@ -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;

View File

@ -34,7 +34,7 @@ class Tid extends ArgumentDefaultPluginBase implements CacheableDependencyInterf
/**
* The vocabulary storage.
*
* @var \Drupal\taxonomy\VocabularyStorageInterface.
* @var \Drupal\taxonomy\VocabularyStorageInterface
*/
protected $vocabularyStorage;

View File

@ -21,7 +21,7 @@ class TaxonomyIndexTid extends PrerenderList {
/**
* The vocabulary storage.
*
* @var \Drupal\taxonomy\VocabularyStorageInterface.
* @var \Drupal\taxonomy\VocabularyStorageInterface
*/
protected $vocabularyStorage;

View File

@ -22,7 +22,7 @@ trait TaxonomyTranslationTestTrait {
/**
* The vocabulary.
*
* @var \Drupal\taxonomy\Entity\Vocabulary;
* @var \Drupal\taxonomy\Entity\Vocabulary
*/
protected $vocabulary;

View File

@ -19,7 +19,7 @@ class VocabularyForm extends BundleEntityFormBase {
/**
* The vocabulary storage.
*
* @var \Drupal\taxonomy\VocabularyStorageInterface.
* @var \Drupal\taxonomy\VocabularyStorageInterface
*/
protected $vocabularyStorage;

View File

@ -17,7 +17,7 @@ trait TaxonomyTranslationTestTrait {
/**
* The vocabulary.
*
* @var \Drupal\taxonomy\Entity\Vocabulary;
* @var \Drupal\taxonomy\Entity\Vocabulary
*/
protected $vocabulary;

View File

@ -26,7 +26,7 @@ class TextWithSummaryItemTest extends FieldKernelTestBase {
/**
* Field storage entity.
*
* @var \Drupal\field\Entity\FieldStorageConfig.
* @var \Drupal\field\Entity\FieldStorageConfig
*/
protected $fieldStorage;

View File

@ -26,7 +26,7 @@ class ViewsSelection extends SelectionPluginBase implements ContainerFactoryPlug
/**
* The loaded View object.
*
* @var \Drupal\views\ViewExecutable;
* @var \Drupal\views\ViewExecutable
*/
protected $view;

View File

@ -18,7 +18,9 @@ use Drupal\views\ResultRow;
class MachineName extends FieldPluginBase {
/**
* @var array Stores the available options.
* Stores the available options.
*
* @var array
*/
protected $valueOptions;

View File

@ -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;

View File

@ -13,7 +13,7 @@ use Symfony\Component\DependencyInjection\Definition;
class TestServiceProvider implements ServiceProviderInterface, ServiceModifierInterface {
/**
* @var \Drupal\simpletest\TestBase;
* @var \Drupal\simpletest\TestBase
*/
public static $currentTest;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;