Commit b85856f4 authored by alexpott's avatar alexpott

Issue #2909368 by mfernea, reflie, zaporylie: Fix...

Issue #2909368 by mfernea, reflie, zaporylie: Fix 'Drupal.Commenting.VariableComment.InlineVariableName' coding standard
parent e113f8fb
......@@ -15,7 +15,7 @@ class FileCacheFactory {
/**
* The configuration used to create FileCache objects.
*
* @var array $configuration
* @var array
*/
protected static $configuration;
......
......@@ -45,7 +45,7 @@ class AssetResolver implements AssetResolverInterface {
/**
* The language manager.
*
* @var \Drupal\Core\Language\LanguageManagerInterface $language_manager
* @var \Drupal\Core\Language\LanguageManagerInterface
*/
protected $languageManager;
......
......@@ -22,7 +22,7 @@ class MenuRouterRebuildSubscriber implements EventSubscriberInterface {
/**
* The menu link plugin manager.
*
* @var \Drupal\Core\Menu\MenuLinkManagerInterface $menuLinkManager
* @var \Drupal\Core\Menu\MenuLinkManagerInterface
*/
protected $menuLinkManager;
......
......@@ -30,7 +30,7 @@ class DatabaseQueue implements ReliableQueueInterface, QueueGarbageCollectionInt
/**
* The database connection.
*
* @var \Drupal\Core\Database\Connection $connection
* @var \Drupal\Core\Database\Connection
*/
protected $connection;
......
......@@ -12,7 +12,7 @@ class QueueDatabaseFactory {
/**
* The database connection.
*
* @var \Drupal\Core\Database\Connection $connection
* @var \Drupal\Core\Database\Connection
*/
protected $connection;
......
......@@ -28,7 +28,7 @@ class RouteBuilder implements RouteBuilderInterface, DestructableInterface {
/**
* The used lock backend instance.
*
* @var \Drupal\Core\Lock\LockBackendInterface $lock
* @var \Drupal\Core\Lock\LockBackendInterface
*/
protected $lock;
......
......@@ -45,7 +45,7 @@ class ConfigEntityMapperTest extends UnitTestCase {
/**
* The mocked language manager.
*
* @var \Drupal\Core\Language\LanguageManagerInterface $language_manager|\PHPUnit_Framework_MockObject_MockObject
* @var \Drupal\Core\Language\LanguageManagerInterface|\PHPUnit_Framework_MockObject_MockObject
*/
protected $languageManager;
......
......@@ -84,7 +84,7 @@ class ConfigNamesMapperTest extends UnitTestCase {
/**
* The mocked language manager.
*
* @var \Drupal\Core\Language\LanguageManagerInterface $language_manager|\PHPUnit_Framework_MockObject_MockObject
* @var \Drupal\Core\Language\LanguageManagerInterface|\PHPUnit_Framework_MockObject_MockObject
*/
protected $languageManager;
......
......@@ -17,7 +17,7 @@ class ContentPreprocess implements ContainerInjectionInterface {
/**
* The route match service.
*
* @var \Drupal\Core\Routing\RouteMatchInterface $routeMatch
* @var \Drupal\Core\Routing\RouteMatchInterface
*/
protected $routeMatch;
......
......@@ -26,7 +26,7 @@ class LinksTest extends BrowserTestBase {
/**
* The menu link plugin manager.
*
* @var \Drupal\Core\Menu\MenuLinkManagerInterface $menuLinkManager
* @var \Drupal\Core\Menu\MenuLinkManagerInterface
*/
protected $menuLinkManager;
......
......@@ -183,7 +183,7 @@ class TestMigrationMock extends Migration {
/**
* The values passed into set().
*
* @var array $set
* @var array
*/
public $set = [];
......
......@@ -16,14 +16,14 @@ class DeleteForm extends ConfirmFormBase {
/**
* The alias storage service.
*
* @var AliasStorageInterface $path
* @var AliasStorageInterface
*/
protected $aliasStorage;
/**
* The path alias being deleted.
*
* @var array $pathAlias
* @var array
*/
protected $pathAlias;
......
......@@ -19,7 +19,7 @@ class UrlAlias extends DestinationBase implements ContainerFactoryPluginInterfac
/**
* The alias storage service.
*
* @var \Drupal\Core\Path\AliasStorage $aliasStorage
* @var \Drupal\Core\Path\AliasStorage
*/
protected $aliasStorage;
......
......@@ -43,7 +43,7 @@ class CronForm extends FormBase {
/**
* The module handler service.
*
* @var \Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler
* @var \Drupal\Core\Extension\ModuleHandlerInterface
*/
protected $moduleHandler;
......
......@@ -65,7 +65,7 @@ class SystemMenuBlockTest extends KernelTestBase {
/**
* The menu link plugin manager service.
*
* @var \Drupal\Core\Menu\MenuLinkManagerInterface $menuLinkManager
* @var \Drupal\Core\Menu\MenuLinkManagerInterface
*/
protected $menuLinkManager;
......
......@@ -22,7 +22,7 @@ class PrivateTempStoreFactory {
/**
* The lock object used for this data.
*
* @var \Drupal\Core\Lock\LockBackendInterface $lockBackend
* @var \Drupal\Core\Lock\LockBackendInterface
*/
protected $lockBackend;
......
......@@ -21,7 +21,7 @@ class SharedTempStoreFactory {
/**
* The lock object used for this data.
*
* @var \Drupal\Core\Lock\LockBackendInterface $lockBackend
* @var \Drupal\Core\Lock\LockBackendInterface
*/
protected $lockBackend;
......
......@@ -64,8 +64,7 @@
<exclude name="Drupal.Commenting.FunctionComment.TypeHintMissing"/>
</rule>
<rule ref="../vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Commenting/VariableCommentSniff.php">
<!-- Sniff for: DuplicateVar -->
<exclude name="Drupal.Commenting.VariableComment.InlineVariableName"/>
<!-- Sniff for: DuplicateVar, InlineVariableName -->
<exclude name="Drupal.Commenting.VariableComment.EmptyVar"/>
<exclude name="Drupal.Commenting.VariableComment.IncorrectVarType"/>
<exclude name="Drupal.Commenting.VariableComment.MissingVar"/>
......
......@@ -68,7 +68,7 @@ class FieldSqlStorageTest extends EntityKernelTestBase {
/**
* The table mapping for the tested entity type.
*
* @var \Drupal\Core\Entity\Sql\DefaultTableMapping $table_mapping
* @var \Drupal\Core\Entity\Sql\DefaultTableMapping
*/
protected $tableMapping;
......
......@@ -26,7 +26,7 @@ class MenuLinkTreeTest extends KernelTestBase {
/**
* The menu link plugin manager.
*
* @var \Drupal\Core\Menu\MenuLinkManagerInterface $menuLinkManager
* @var \Drupal\Core\Menu\MenuLinkManagerInterface
*/
protected $menuLinkManager;
......
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