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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/laravel-crm/vendor/laravel/framework/src/Illuminate/Foundation/Testing/   drwxrwxrwx
Free 13.17 GB of 57.97 GB (22.73%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     TestCase.php (2.18 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Foundation\Testing;

use 
PHPUnit\Framework\TestCase as BaseTestCase;
use 
Throwable;

abstract class 
TestCase extends BaseTestCase
{
    use 
Concerns\InteractsWithContainer,
        
Concerns\MakesHttpRequests,
        
Concerns\InteractsWithAuthentication,
        
Concerns\InteractsWithConsole,
        
Concerns\InteractsWithDatabase,
        
Concerns\InteractsWithDeprecationHandling,
        
Concerns\InteractsWithExceptionHandling,
        
Concerns\InteractsWithSession,
        
Concerns\InteractsWithTime,
        
Concerns\InteractsWithTestCaseLifecycle,
        
Concerns\InteractsWithViews;

    
/**
     * Creates the application.
     *
     * Needs to be implemented by subclasses.
     *
     * @return \Symfony\Component\HttpKernel\HttpKernelInterface
     */
    
abstract public function createApplication();

    
/**
     * Setup the test environment.
     *
     * @return void
     */
    
protected function setUp(): void
    
{
        static::
$latestResponse null;

        
$this->setUpTheTestEnvironment();
    }

    
/**
     * Refresh the application instance.
     *
     * @return void
     */
    
protected function refreshApplication()
    {
        
$this->app $this->createApplication();
    }

    
/**
     * {@inheritdoc}
     */
    
protected function runTest(): mixed
    
{
        
$result null;

        try {
            
// @phpstan-ignore-next-line
            
$result parent::runTest();
        } catch (
Throwable $e) {
            if (! 
is_null(static::$latestResponse)) {
                static::
$latestResponse->transformNotSuccessfulException($e);
            }

            throw 
$e;
        }

        return 
$result;
    }

    
/**
     * Clean up the testing environment before the next test.
     *
     * @return void
     *
     * @throws \Mockery\Exception\InvalidCountException
     */
    
protected function tearDown(): void
    
{
        
$this->tearDownTheTestEnvironment();
    }

    
/**
     * Clean up the testing environment before the next test case.
     *
     * @return void
     */
    
public static function tearDownAfterClass(): void
    
{
        static::
$latestResponse null;

        static::
tearDownAfterClassUsingTestCase();
    }
}

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