!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/classify.picotech.app/public_html/vendor/pestphp/pest-plugin-arch/src/   drwxr-xr-x
Free 29.17 GB of 117.98 GB (24.72%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

declare(strict_types=1);

namespace 
Pest\Arch;

use 
Closure;
use 
Pest\Arch\Contracts\ArchExpectation;
use 
Pest\Expectation;

/**
 * @internal
 *
 * @mixin Expectation<string>
 */
final class GroupArchExpectation implements Contracts\ArchExpectation
{
    
/**
     * Creates a new Arch Expectation instance.
     *
     * @param  array<int, GroupArchExpectation|SingleArchExpectation>  $expectations
     */
    
private function __construct(private readonly Expectation $original, private readonly array $expectations)
    {
        
// ...
    
}

    
/**
     * Ignores the given layers.
     *
     * @param  array<int, string>|string  $targetsOrDependencies
     * @return $this
     */
    
public function ignoring(array|string $targetsOrDependencies): self
    
{
        foreach (
$this->expectations as $expectation) {
            
$expectation->ignoring($targetsOrDependencies);
        }

        return 
$this;
    }

    
/**
     * Ignores the global "user defined" functions.
     *
     * @return $this
     */
    
public function ignoringGlobalFunctions(): self
    
{
        foreach (
$this->expectations as $expectation) {
            
$expectation->ignoringGlobalFunctions();
        }

        return 
$this;
    }

    
/**
     * Sets the "opposite" callback.
     */
    
public function opposite(Closure $callback): self
    
{
        foreach (
$this->expectations as $expectation) {
            
$expectation->opposite($callback);
        }

        return 
$this;
    }

    
/**
     * Creates a new Arch Expectation instance from the given expectations.
     *
     * @param  array<int, GroupArchExpectation|SingleArchExpectation>  $expectations
     */
    
public static function fromExpectations(Expectation $original, array $expectations): self
    
{
        return new 
self($original$expectations);
    }

    
/**
     * Proxies the call to the first expectation.
     *
     * @param  array<array-key, mixed>  $arguments
     * @return Expectation<string>
     */
    
public function __call(string $name, array $arguments): mixed
    
{
        
$this->ensureLazyExpectationIsVerified();

        return 
$this->original->$name(...$arguments); // @phpstan-ignore-line
    
}

    
/**
     * Proxies the call to the expectation.
     *
     * @return Expectation<string>
     */
    
public function __get(string $name): mixed
    
{
        
$this->ensureLazyExpectationIsVerified();

        return 
$this->original->$name// @phpstan-ignore-line
    
}

    
/**
     * {@inheritDoc}
     */
    
public function mergeExcludeCallbacks(array $excludeCallbacks): void
    
{
        foreach (
$this->expectations as $expectation) {
            
$expectation->mergeExcludeCallbacks($excludeCallbacks);
        }
    }

    
/**
     * {@inheritDoc}
     */
    
public function excludeCallbacks(): array
    {
        return 
array_merge(...array_map(
            fn (
ArchExpectation $expectation): array => $expectation->excludeCallbacks(), $this->expectations,
        ));
    }

    
/**
     * Ensures the lazy expectation is verified when the object is destructed.
     */
    
public function __destruct()
    {
        
$this->ensureLazyExpectationIsVerified();
    }

    
/**
     * Ensures the lazy expectation is verified.
     */
    
private function ensureLazyExpectationIsVerified(): void
    
{
        foreach (
$this->expectations as $expectation) {
            
$expectation->ensureLazyExpectationIsVerified();
        }
    }
}

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