diff --git a/core/modules/migrate/tests/src/Unit/Entity/MigrationTest.php b/core/modules/migrate/tests/src/Unit/Entity/MigrationTest.php index 5168976..027cccd 100644 --- a/core/modules/migrate/tests/src/Unit/Entity/MigrationTest.php +++ b/core/modules/migrate/tests/src/Unit/Entity/MigrationTest.php @@ -20,7 +20,7 @@ class MigrationTest extends UnitTestCase { /** * Tests Migration::getProcessPlugins() * - * @covers ::getProcessPlugins() + * @covers ::getProcessPlugins */ public function testGetProcessPlugins() { $migration = new Migration([], 'migration'); diff --git a/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php b/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php index 2b1b3ce..c8f0044 100644 --- a/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php @@ -77,7 +77,7 @@ protected function setUp() { /** * Tests field name methods. * - * @covers ::getName() + * @covers ::getName */ public function testFieldName() { $definition = BaseFieldDefinition::create($this->fieldType); @@ -89,7 +89,7 @@ public function testFieldName() { /** * Tests field label methods. * - * @covers ::getLabel() + * @covers ::getLabel */ public function testFieldLabel() { $definition = BaseFieldDefinition::create($this->fieldType); @@ -101,7 +101,7 @@ public function testFieldLabel() { /** * Tests field description methods. * - * @covers ::getDescription() + * @covers ::getDescription */ public function testFieldDescription() { $definition = BaseFieldDefinition::create($this->fieldType); @@ -113,7 +113,7 @@ public function testFieldDescription() { /** * Tests field type methods. * - * @covers ::getType() + * @covers ::getType */ public function testFieldType() { $definition = BaseFieldDefinition::create($this->fieldType); @@ -123,9 +123,9 @@ public function testFieldType() { /** * Tests field settings methods. * - * @covers ::getSetting() - * @covers ::setSetting() - * @covers ::getSettings() + * @covers ::getSetting + * @covers ::setSetting + * @covers ::getSettings */ public function testFieldSettings() { $definition = BaseFieldDefinition::create($this->fieldType); @@ -140,9 +140,9 @@ public function testFieldSettings() { /** * Tests the initialization of default field settings. * - * @covers ::getSetting() - * @covers ::setSetting() - * @covers ::getSettings() + * @covers ::getSetting + * @covers ::setSetting + * @covers ::getSettings */ public function testDefaultFieldSettings() { $definition = BaseFieldDefinition::create($this->fieldType); @@ -156,8 +156,8 @@ public function testDefaultFieldSettings() { /** * Tests field default value. * - * @covers ::getDefaultValue() - * @covers ::setDefaultValue() + * @covers ::getDefaultValue + * @covers ::setDefaultValue */ public function testFieldDefaultValue() { $definition = BaseFieldDefinition::create($this->fieldType); @@ -202,8 +202,8 @@ public function testFieldDefaultValue() { /** * Tests field translatable methods. * - * @covers ::isTranslatable() - * @covers ::setTranslatable() + * @covers ::isTranslatable + * @covers ::setTranslatable */ public function testFieldTranslatable() { $definition = BaseFieldDefinition::create($this->fieldType); @@ -217,8 +217,8 @@ public function testFieldTranslatable() { /** * Tests field revisionable methods. * - * @covers ::isRevisionable() - * @covers ::setRevisionable() + * @covers ::isRevisionable + * @covers ::setRevisionable */ public function testFieldRevisionable() { $definition = BaseFieldDefinition::create($this->fieldType); @@ -232,8 +232,8 @@ public function testFieldRevisionable() { /** * Tests field cardinality. * - * @covers ::getCardinality() - * @covers ::setCardinality() + * @covers ::getCardinality + * @covers ::setCardinality */ public function testFieldCardinality() { $definition = BaseFieldDefinition::create($this->fieldType); @@ -247,8 +247,8 @@ public function testFieldCardinality() { /** * Tests required. * - * @covers ::isRequired() - * @covers ::setRequired() + * @covers ::isRequired + * @covers ::setRequired */ public function testFieldRequired() { $definition = BaseFieldDefinition::create($this->fieldType); @@ -262,8 +262,8 @@ public function testFieldRequired() { /** * Tests provider. * - * @covers ::getProvider() - * @covers ::setProvider() + * @covers ::getProvider + * @covers ::setProvider */ public function testFieldProvider() { $definition = BaseFieldDefinition::create($this->fieldType); @@ -275,8 +275,8 @@ public function testFieldProvider() { /** * Tests custom storage. * - * @covers ::hasCustomStorage() - * @covers ::setCustomStorage() + * @covers ::hasCustomStorage + * @covers ::setCustomStorage */ public function testCustomStorage() { $definition = BaseFieldDefinition::create($this->fieldType); @@ -290,7 +290,7 @@ public function testCustomStorage() { /** * Tests default value callbacks. * - * @covers ::setDefaultValueCallback() + * @covers ::setDefaultValueCallback */ public function testDefaultValueCallback() { $definition = BaseFieldDefinition::create($this->fieldType); @@ -301,7 +301,7 @@ public function testDefaultValueCallback() { /** * Tests invalid default value callbacks. * - * @covers ::setDefaultValueCallback() + * @covers ::setDefaultValueCallback * @expectedException \InvalidArgumentException */ public function testInvalidDefaultValueCallback() { diff --git a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php index 3d55d91..99815b7 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php @@ -759,8 +759,8 @@ public function testGetSchemaRevisionableTranslatable() { /** * Tests the schema for a field dedicated table. * - * @covers ::getDedicatedTableSchema() - * @covers ::createDedicatedTableSchema() + * @covers ::getDedicatedTableSchema + * @covers ::createDedicatedTableSchema */ public function testDedicatedTableSchema() { $entity_type_id = 'entity_test'; @@ -904,8 +904,8 @@ public function testDedicatedTableSchema() { /** * Tests the schema for a field dedicated table for an entity with a string identifier. * - * @covers ::getDedicatedTableSchema() - * @covers ::createDedicatedTableSchema() + * @covers ::getDedicatedTableSchema + * @covers ::createDedicatedTableSchema */ public function testDedicatedTableSchemaForEntityWithStringIdentifier() { $entity_type_id = 'entity_test'; diff --git a/core/tests/Drupal/Tests/Core/Template/AttributeTest.php b/core/tests/Drupal/Tests/Core/Template/AttributeTest.php index 7ac7445..d587db2 100644 --- a/core/tests/Drupal/Tests/Core/Template/AttributeTest.php +++ b/core/tests/Drupal/Tests/Core/Template/AttributeTest.php @@ -64,7 +64,7 @@ public function testRemove() { /** * Tests setting attributes. - * @covers ::setAttribute() + * @covers ::setAttribute */ public function testSetAttribute() { $attribute = new Attribute(); @@ -92,7 +92,7 @@ public function testSetAttribute() { /** * Tests removing attributes. - * @covers ::removeAttribute() + * @covers ::removeAttribute */ public function testRemoveAttribute() { $attributes = [ @@ -214,7 +214,7 @@ public function testRemoveClasses() { /** * Tests checking for class names with the Attribute method. - * @covers ::hasClass() + * @covers ::hasClass */ public function testHasClass() { // Test an attribute without any classes.