[ 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 const PHP_EOL;
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 ConsideredRisky implements Event
{
    private readonly Telemetry\Info $telemetryInfo;
    private readonly Code\Test $test;

    /**
     * @psalm-var non-empty-string
     */
    private readonly string $message;

    /**
     * @psalm-param non-empty-string $message
     */
    public function __construct(Telemetry\Info $telemetryInfo, Code\Test $test, string $message)
    {
        $this->telemetryInfo = $telemetryInfo;
        $this->test          = $test;
        $this->message       = $message;
    }

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

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

    /**
     * @psalm-return non-empty-string
     */
    public function message(): string
    {
        return $this->message;
    }

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

Filemanager

Name Type Size Permission Actions
ConsideredRisky.php File 1.56 KB 0644
ConsideredRiskySubscriber.php File 545 B 0644
DeprecationTriggered.php File 3.22 KB 0644
DeprecationTriggeredSubscriber.php File 555 B 0644
ErrorTriggered.php File 2.53 KB 0644
ErrorTriggeredSubscriber.php File 543 B 0644
NoticeTriggered.php File 2.93 KB 0644
NoticeTriggeredSubscriber.php File 545 B 0644
PhpDeprecationTriggered.php File 3.22 KB 0644
PhpDeprecationTriggeredSubscriber.php File 561 B 0644
PhpNoticeTriggered.php File 2.93 KB 0644
PhpNoticeTriggeredSubscriber.php File 551 B 0644
PhpWarningTriggered.php File 2.94 KB 0644
PhpWarningTriggeredSubscriber.php File 553 B 0644
PhpunitDeprecationTriggered.php File 1.67 KB 0644
PhpunitDeprecationTriggeredSubscriber.php File 569 B 0644
PhpunitErrorTriggered.php File 1.68 KB 0644
PhpunitErrorTriggeredSubscriber.php File 557 B 0644
PhpunitWarningTriggered.php File 1.66 KB 0644
PhpunitWarningTriggeredSubscriber.php File 561 B 0644
WarningTriggered.php File 2.93 KB 0644
WarningTriggeredSubscriber.php File 547 B 0644