/home/techb158/ileadtechnology.com/vendor/phpunit/phpunit/src/Util/TestDox
NameSizeModeActions
CliTestDoxPrinter.php110600644editdlrm
HtmlResultPrinter.php28520644editdlrm
NamePrettifier.php89470644editdlrm
ResultPrinter.php71390644editdlrm
TestDoxPrinter.php108150644editdlrm
TextResultPrinter.php10600644editdlrm
XmlResultPrinter.php70520644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/phpunit/phpunit/src/Util/TestDox/HtmlResultPrinter.php (2852B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\Util\TestDox; use function sprintf; /** * @internal This class is not covered by the backward compatibility promise for PHPUnit */ final class HtmlResultPrinter extends ResultPrinter { /** * @var string */ private const PAGE_HEADER = <<<'EOT' Test Documentation EOT; /** * @var string */ private const CLASS_HEADER = <<<'EOT'

%s

EOT; /** * @var string */ private const PAGE_FOOTER = <<<'EOT' EOT; /** * Handler for 'start run' event. */ protected function startRun(): void { $this->write(self::PAGE_HEADER); } /** * Handler for 'start class' event. */ protected function startClass(string $name): void { $this->write( sprintf( self::CLASS_HEADER, $name, $this->currentTestClassPrettified ) ); } /** * Handler for 'on test' event. */ protected function onTest($name, bool $success = true): void { $this->write( sprintf( "
  • %s %s
  • \n", $success ? '#555753' : '#ef2929', $success ? '✓' : '❌', $name ) ); } /** * Handler for 'end class' event. */ protected function endClass(string $name): void { $this->write(self::CLASS_FOOTER); } /** * Handler for 'end run' event. */ protected function endRun(): void { $this->write(self::PAGE_FOOTER); } }