diff --git a/core/lib/Drupal/Core/Test/PhpUnitTestRunner.php b/core/lib/Drupal/Core/Test/PhpUnitTestRunner.php index 6dfe6b7..abf0eac 100644 --- a/core/lib/Drupal/Core/Test/PhpUnitTestRunner.php +++ b/core/lib/Drupal/Core/Test/PhpUnitTestRunner.php @@ -39,7 +39,7 @@ class PhpUnitTestRunner { /** * Factory method to inject the container-based dependencies. * - * @param ContainerInterface $container + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container * Container to inject. * * @return static @@ -118,7 +118,7 @@ public function phpUnitCommand() { /** * Executes the PHPUnit command. * - * @param array $unescaped_test_classnames + * @param string[] $unescaped_test_classnames * An array of test class names, including full namespaces, to be passed as * a regular expression to PHPUnit's --filter option. * @param string $phpunit_file diff --git a/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php b/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php index 7be1630..acb238b 100644 --- a/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php +++ b/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php @@ -26,7 +26,7 @@ class SimpletestPhpunitRunCommandTest extends \PHPUnit_Framework_TestCase { /** * Container to use in the tests. * - * @var Drupal\Core\DependencyInjection\ContainerBuilder + * @var \Drupal\Core\DependencyInjection\ContainerBuilder */ protected $fixtureContainer; @@ -45,8 +45,6 @@ public function setUp() { * Round-trip test of running a PHPUnit-based test, including exit(). * * Uses deprecated simpletest_*() functions. - * - * @coversNothing */ public function testSimpletestPhpUnitRunCommandBackwardsCompatibility() { $test_id = 77; @@ -65,7 +63,7 @@ public function testSimpletestPhpUnitRunCommandBackwardsCompatibility() { * * Uses the PhpUnitTestRunner class. * - * @coversNothing + * @covers \Drupal\Core\Test\PhpUnitTestRunner::runTests */ public function testSimpletestPhpUnitRunCommand() { $test_id = 23;