diff --git a/core/modules/system/tests/src/Unit/SystemRequirementsTest.php b/core/modules/system/tests/src/Unit/SystemRequirementsTest.php index abd79ca550b5dab300c553839b730acc8db1fcb8..4a7f9c70805013bb8b60dea8c374fe5fc114c4f3 100644 --- a/core/modules/system/tests/src/Unit/SystemRequirementsTest.php +++ b/core/modules/system/tests/src/Unit/SystemRequirementsTest.php @@ -6,12 +6,13 @@ use Drupal\Tests\UnitTestCase; /** - * @coversDefaultClass Drupal\system\SystemRequirements + * @coversDefaultClass \Drupal\system\SystemRequirements * @group system */ class SystemRequirementsTest extends UnitTestCase { /** + * @covers ::phpVersionWithPdoDisallowMultipleStatements * @dataProvider providerTestPhpVersionWithPdoDisallowMultipleStatements */ public function testPhpVersionWithPdoDisallowMultipleStatements($version, $expected) { diff --git a/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php b/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php index 20a91d0d41bc4085813bb0c24f31b17e365b3999..5218ec2a79e43903a225eff1c70c186ff501c5a8 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php @@ -5,8 +5,8 @@ use Drupal\Tests\UnitTestCase; /** - * @coversDefaultClass Drupal\Component\Plugin\Discovery\DiscoveryCachedTrait - * @uses Drupal\Component\Plugin\Discovery\DiscoveryTrait + * @coversDefaultClass \Drupal\Component\Plugin\Discovery\DiscoveryCachedTrait + * @uses \Drupal\Component\Plugin\Discovery\DiscoveryTrait * @group Plugin */ class DiscoveryCachedTraitTest extends UnitTestCase { diff --git a/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php b/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php index 7a5761b81f35e4710c18f9dd9078070d1754e109..9f747f91b199a4dce3aab32301038d9c8d223539 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php @@ -6,7 +6,7 @@ /** * @group Plugin - * @coversDefaultClass Drupal\Component\Plugin\Discovery\DiscoveryTrait + * @coversDefaultClass \Drupal\Component\Plugin\Discovery\DiscoveryTrait */ class DiscoveryTraitTest extends UnitTestCase { @@ -58,9 +58,9 @@ public function providerDoGetDefinitionException() { /** * @covers ::doGetDefinition - * @expectedException Drupal\Component\Plugin\Exception\PluginNotFoundException + * @expectedException \Drupal\Component\Plugin\Exception\PluginNotFoundException * @dataProvider providerDoGetDefinitionException - * @uses Drupal\Component\Plugin\Exception\PluginNotFoundException + * @uses \Drupal\Component\Plugin\Exception\PluginNotFoundException */ public function testDoGetDefinitionException($expected, $definitions, $plugin_id) { // Mock the trait. @@ -96,9 +96,9 @@ public function testGetDefinition($expected, $definitions, $plugin_id) { /** * @covers ::getDefinition - * @expectedException Drupal\Component\Plugin\Exception\PluginNotFoundException + * @expectedException \Drupal\Component\Plugin\Exception\PluginNotFoundException * @dataProvider providerDoGetDefinitionException - * @uses Drupal\Component\Plugin\Exception\PluginNotFoundException + * @uses \Drupal\Component\Plugin\Exception\PluginNotFoundException */ public function testGetDefinitionException($expected, $definitions, $plugin_id) { // Since getDefinition is a wrapper around doGetDefinition(), we can re-use diff --git a/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php b/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php index dc54eba2fc9159524eca73e485d16c1ca135586a..bdab19c7ef4e0298307bce31b3364532f94a0800 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php @@ -6,7 +6,7 @@ /** * @group Plugin - * @coversDefaultClass Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator + * @coversDefaultClass \Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator */ class StaticDiscoveryDecoratorTest extends UnitTestCase { @@ -17,7 +17,7 @@ class StaticDiscoveryDecoratorTest extends UnitTestCase { * \Callable in the mock object. The return value of this callback is * never used. * - * @return mock + * @return \PHPUnit_Framework_MockObject_MockObject * Mocked object with expectation of registerDefinitionsCallback() being * called once. */ diff --git a/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php b/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php index d6cc8c65c200b5c02ff59ee262dc9ecf10d45222..4bb3a98daf780a58ff5970215eeab7d726c0736e 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php @@ -14,7 +14,7 @@ /** * @group Plugin - * @coversDefaultClass Drupal\Component\Plugin\Factory\ReflectionFactory + * @coversDefaultClass \Drupal\Component\Plugin\Factory\ReflectionFactory */ class ReflectionFactoryTest extends UnitTestCase { diff --git a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php index 95fad821b24a23a1b6c4b332d6261775caf6cf45..7f084e4fb0804fc811427d76d1c7480d693284c4 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @@ -10,7 +10,7 @@ * * @group Plugin * - * @coversDefaultClass Drupal\Core\Plugin\Context\ContextDefinition + * @coversDefaultClass \Drupal\Core\Plugin\Context\ContextDefinition */ class ContextDefinitionTest extends UnitTestCase { @@ -113,7 +113,7 @@ public function testGetDataDefinition($is_multiple) { * @dataProvider providerGetDataDefinition * @covers ::getDataDefinition * @uses \Drupal - * @uses Drupal\Component\Utility\SafeMarkup + * @uses \Drupal\Component\Utility\SafeMarkup */ public function testGetDataDefinitionInvalidType($is_multiple) { // Since we're trying to make getDataDefinition() throw an exception in diff --git a/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php b/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php index 4c09f592f50e777d2ced37545b9d5efc9cf8c0bc..12f36eac2936a315ecfee3f8f7c89e5296781ba0 100644 --- a/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php @@ -15,7 +15,7 @@ use Drupal\Tests\UnitTestCase; /** - * @coversDefaultClass Drupal\Core\Validation\Plugin\Validation\Constraint\PrimitiveTypeConstraintValidator + * @coversDefaultClass \Drupal\Core\Validation\Plugin\Validation\Constraint\PrimitiveTypeConstraintValidator * @group validation */ class PrimitiveTypeConstraintValidatorTest extends UnitTestCase {