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 : 18.117.132.79
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
phpunit /
php-code-coverage /
src /
Report /
Delete
Unzip
Name
Size
Permission
Date
Action
Html
[ DIR ]
drwxr-xr-x
2018-10-31 09:00
Xml
[ DIR ]
drwxr-xr-x
2018-10-31 09:00
Clover.php
10.18
KB
-rw-r--r--
2018-10-31 09:00
Crap4j.php
5.77
KB
-rw-r--r--
2018-10-31 09:00
PHP.php
1.82
KB
-rw-r--r--
2018-10-31 09:00
Text.php
8.58
KB
-rw-r--r--
2018-10-31 09:00
Save
Rename
<?php /* * This file is part of the php-code-coverage package. * * (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 SebastianBergmann\CodeCoverage\Report; use SebastianBergmann\CodeCoverage\CodeCoverage; use SebastianBergmann\CodeCoverage\RuntimeException; /** * Uses var_export() to write a SebastianBergmann\CodeCoverage\CodeCoverage object to a file. */ final class PHP { /** * @throws \SebastianBergmann\CodeCoverage\RuntimeException */ public function process(CodeCoverage $coverage, ?string $target = null): string { $filter = $coverage->filter(); $buffer = \sprintf( '<?php $coverage = new SebastianBergmann\CodeCoverage\CodeCoverage; $coverage->setData(%s); $coverage->setTests(%s); $filter = $coverage->filter(); $filter->setWhitelistedFiles(%s); return $coverage;', \var_export($coverage->getData(true), 1), \var_export($coverage->getTests(), 1), \var_export($filter->getWhitelistedFiles(), 1) ); if ($target !== null) { if (!$this->createDirectory(\dirname($target))) { throw new \RuntimeException(\sprintf('Directory "%s" was not created', \dirname($target))); } if (@\file_put_contents($target, $buffer) === false) { throw new RuntimeException( \sprintf( 'Could not write to "%s', $target ) ); } } return $buffer; } private function createDirectory(string $directory): bool { return !(!\is_dir($directory) && !@\mkdir($directory, 0777, true) && !\is_dir($directory)); } }