[ Th3_Err0r Bypassed ]




Upload:

Command:

liwaavux@216.73.217.154: ~ $
<?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\Event\Test;

use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Event;
use PHPUnit\Event\Telemetry;

/**
 * @psalm-immutable
 *
 * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
 */
final class Prepared implements Event
{
    private readonly Telemetry\Info $telemetryInfo;
    private readonly Code\Test $test;

    public function __construct(Telemetry\Info $telemetryInfo, Code\Test $test)
    {
        $this->telemetryInfo = $telemetryInfo;
        $this->test          = $test;
    }

    public function telemetryInfo(): Telemetry\Info
    {
        return $this->telemetryInfo;
    }

    public function test(): Code\Test
    {
        return $this->test;
    }

    public function asString(): string
    {
        return sprintf(
            'Test Prepared (%s)',
            $this->test->id(),
        );
    }
}

Filemanager

Name Type Size Permission Actions
DataProviderMethodCalled.php File 1.63 KB 0644
DataProviderMethodCalledSubscriber.php File 563 B 0644
DataProviderMethodFinished.php File 1.88 KB 0644
DataProviderMethodFinishedSubscriber.php File 567 B 0644
Finished.php File 1.44 KB 0644
FinishedSubscriber.php File 531 B 0644
PreparationFailed.php File 1.16 KB 0644
PreparationFailedSubscriber.php File 549 B 0644
PreparationStarted.php File 1.16 KB 0644
PreparationStartedSubscriber.php File 551 B 0644
Prepared.php File 1.14 KB 0644
PreparedSubscriber.php File 531 B 0644