@@ -318,9 +318,7 @@ public function doRun(Test $suite, array $arguments = [], array $warnings = [],
318
318
$ this ->printer ->setShowProgressAnimation (!$ arguments ['noInteraction ' ]);
319
319
}
320
320
321
- $ this ->printer ->write (
322
- Version::getVersionString () . "\n"
323
- );
321
+ $ this ->write (Version::getVersionString () . "\n" );
324
322
325
323
if ($ arguments ['verbose ' ]) {
326
324
$ this ->writeMessage ('Runtime ' , $ this ->runtime ->getNameWithVersionAndCodeCoverageDriver ());
@@ -605,7 +603,7 @@ public function doRun(Test $suite, array $arguments = [], array $warnings = [],
605
603
exit (self ::SUCCESS_EXIT );
606
604
}
607
605
608
- $ this ->printer -> write ("\n" );
606
+ $ this ->write ("\n" );
609
607
610
608
if (isset ($ codeCoverage )) {
611
609
$ result ->setCodeCoverage ($ codeCoverage );
@@ -1357,7 +1355,7 @@ private function createPrinter(string $class, array $arguments): Printer
1357
1355
1358
1356
private function codeCoverageGenerationStart (string $ format ): void
1359
1357
{
1360
- $ this ->printer -> write (
1358
+ $ this ->write (
1361
1359
sprintf (
1362
1360
"\nGenerating code coverage report in %s format ... " ,
1363
1361
$ format
@@ -1369,7 +1367,7 @@ private function codeCoverageGenerationStart(string $format): void
1369
1367
1370
1368
private function codeCoverageGenerationSucceeded (): void
1371
1369
{
1372
- $ this ->printer -> write (
1370
+ $ this ->write (
1373
1371
sprintf (
1374
1372
"done [%s] \n" ,
1375
1373
Timer::secondsToTimeString (Timer::stop ())
@@ -1379,7 +1377,7 @@ private function codeCoverageGenerationSucceeded(): void
1379
1377
1380
1378
private function codeCoverageGenerationFailed (\Exception $ e ): void
1381
1379
{
1382
- $ this ->printer -> write (
1380
+ $ this ->write (
1383
1381
sprintf (
1384
1382
"failed [%s] \n%s \n" ,
1385
1383
Timer::secondsToTimeString (Timer::stop ()),
0 commit comments