diff --git a/core/modules/simpletest/tests/src/Unit/SimpletestUiPrinterTest.php b/core/modules/simpletest/tests/src/Unit/SimpletestUiPrinterTest.php index 03aeda66f0..1c311b8785 100644 --- a/core/modules/simpletest/tests/src/Unit/SimpletestUiPrinterTest.php +++ b/core/modules/simpletest/tests/src/Unit/SimpletestUiPrinterTest.php @@ -6,6 +6,8 @@ use Drupal\Tests\UnitTestCase; /** + * @coversDefaultClass \Drupal\Tests\Listeners\SimpletestUiPrinter + * * @group simpletest */ class SimpletestUiPrinterTest extends UnitTestCase { @@ -21,6 +23,8 @@ public function provideBuffer() { } /** + * @covers ::write + * * @dataProvider provideBuffer */ public function testWrite($expected, $buffer) { diff --git a/core/tests/Drupal/Tests/Listeners/Legacy/HtmlOutputPrinter.php b/core/tests/Drupal/Tests/Listeners/Legacy/HtmlOutputPrinter.php index 53bb0e2347..7a332bc2de 100644 --- a/core/tests/Drupal/Tests/Listeners/Legacy/HtmlOutputPrinter.php +++ b/core/tests/Drupal/Tests/Listeners/Legacy/HtmlOutputPrinter.php @@ -15,7 +15,7 @@ class HtmlOutputPrinter extends \PHPUnit_TextUI_ResultPrinter { /** * {@inheritdoc} */ - public function __construct($out = null, $verbose = false, $colors = self::COLOR_DEFAULT, $debug = false, $numberOfColumns = 80) { + public function __construct($out = NULL, $verbose = FALSE, $colors = self::COLOR_DEFAULT, $debug = FALSE, $numberOfColumns = 80) { parent::__construct($out, $verbose, $colors, $debug, $numberOfColumns); $this->setUpHtmlOutput();