!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/smm.picotech.app/public_html/vendor/phpunit/phpunit/src/Runner/   drwxr-xr-x
Free 28.52 GB of 117.98 GB (24.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ResultCacheExtension.php (3.33 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;

use function 
preg_match;
use function 
round;

/**
 * @internal This class is not covered by the backward compatibility promise for PHPUnit
 */
final class ResultCacheExtension implements AfterIncompleteTestHookAfterLastTestHookAfterRiskyTestHookAfterSkippedTestHookAfterSuccessfulTestHookAfterTestErrorHookAfterTestFailureHookAfterTestWarningHook
{
    
/**
     * @var TestResultCache
     */
    
private $cache;

    public function 
__construct(TestResultCache $cache)
    {
        
$this->cache $cache;
    }

    public function 
flush(): void
    
{
        
$this->cache->persist();
    }

    public function 
executeAfterSuccessfulTest(string $testfloat $time): void
    
{
        
$testName $this->getTestName($test);

        
$this->cache->setTime($testNameround($time3));
    }

    public function 
executeAfterIncompleteTest(string $teststring $messagefloat $time): void
    
{
        
$testName $this->getTestName($test);

        
$this->cache->setTime($testNameround($time3));
        
$this->cache->setState($testNameBaseTestRunner::STATUS_INCOMPLETE);
    }

    public function 
executeAfterRiskyTest(string $teststring $messagefloat $time): void
    
{
        
$testName $this->getTestName($test);

        
$this->cache->setTime($testNameround($time3));
        
$this->cache->setState($testNameBaseTestRunner::STATUS_RISKY);
    }

    public function 
executeAfterSkippedTest(string $teststring $messagefloat $time): void
    
{
        
$testName $this->getTestName($test);

        
$this->cache->setTime($testNameround($time3));
        
$this->cache->setState($testNameBaseTestRunner::STATUS_SKIPPED);
    }

    public function 
executeAfterTestError(string $teststring $messagefloat $time): void
    
{
        
$testName $this->getTestName($test);

        
$this->cache->setTime($testNameround($time3));
        
$this->cache->setState($testNameBaseTestRunner::STATUS_ERROR);
    }

    public function 
executeAfterTestFailure(string $teststring $messagefloat $time): void
    
{
        
$testName $this->getTestName($test);

        
$this->cache->setTime($testNameround($time3));
        
$this->cache->setState($testNameBaseTestRunner::STATUS_FAILURE);
    }

    public function 
executeAfterTestWarning(string $teststring $messagefloat $time): void
    
{
        
$testName $this->getTestName($test);

        
$this->cache->setTime($testNameround($time3));
        
$this->cache->setState($testNameBaseTestRunner::STATUS_WARNING);
    }

    public function 
executeAfterLastTest(): void
    
{
        
$this->flush();
    }

    
/**
     * @param string $test A long description format of the current test
     *
     * @return string The test name without TestSuiteClassName:: and @dataprovider details
     */
    
private function getTestName(string $test): string
    
{
        
$matches = [];

        if (
preg_match('/^(?<name>\S+::\S+)(?:(?<dataname> with data set (?:#\d+|"[^"]+"))\s\()?/'$test$matches)) {
            
$test $matches['name'] . ($matches['dataname'] ?? '');
        }

        return 
$test;
    }
}

:: 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.0068 ]--