Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 216.73.216.44
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
phpunit /
phpunit /
src /
Util /
TestDox /
Delete
Unzip
Name
Size
Permission
Date
Action
CliTestDoxPrinter.php
5.56
KB
-rw-r--r--
2018-12-03 09:00
HtmlResultPrinter.php
2.62
KB
-rw-r--r--
2018-12-03 09:00
NamePrettifier.php
5.43
KB
-rw-r--r--
2018-12-03 09:00
ResultPrinter.php
6.85
KB
-rw-r--r--
2018-12-03 09:00
TestResult.php
3.88
KB
-rw-r--r--
2018-12-03 09:00
TextResultPrinter.php
1.05
KB
-rw-r--r--
2018-12-03 09:00
XmlResultPrinter.php
5.22
KB
-rw-r--r--
2018-12-03 09:00
Save
Rename
<?php /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\Util\TestDox; /** * Prints TestDox documentation in HTML format. */ final class HtmlResultPrinter extends ResultPrinter { /** * @var string */ private const PAGE_HEADER = <<<EOT <!doctype html> <html lang="en"> <head> <meta charset="utf-8"/> <title>Test Documentation</title> <style> body { text-rendering: optimizeLegibility; font-variant-ligatures: common-ligatures; font-kerning: normal; margin-left: 2em; } body > ul > li { font-family: Source Serif Pro, PT Sans, Trebuchet MS, Helvetica, Arial; font-size: 2em; } h2 { font-family: Tahoma, Helvetica, Arial; font-size: 3em; } ul { list-style: none; margin-bottom: 1em; } </style> </head> <body> EOT; /** * @var string */ private const CLASS_HEADER = <<<EOT <h2 id="%s">%s</h2> <ul> EOT; /** * @var string */ private const CLASS_FOOTER = <<<EOT </ul> EOT; /** * @var string */ private const PAGE_FOOTER = <<<EOT </body> </html> 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( " <li style=\"color: %s;\">%s %s</li>\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); } }