Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php declare(strict_types=1); namespace Pest\Subscribers; use Pest\KernelDump; use Pes..

Decoded Output download

<?php

declare(strict_types=1);

namespace Pest\Subscribers;

use Pest\KernelDump;
use Pest\Support\Container;
use PHPUnit\Event\TestRunner\Started;
use PHPUnit\Event\TestRunner\StartedSubscriber;

/**
 * @internal
 */
final class EnsureKernelDumpIsFlushed implements StartedSubscriber
{
    /**
     * Runs the subscriber.
     */
    public function notify(Started $event): void
    {
        $kernelDump = Container::getInstance()->get(KernelDump::class);

        assert($kernelDump instanceof KernelDump);

        $kernelDump->disable();
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

namespace Pest\Subscribers;

use Pest\KernelDump;
use Pest\Support\Container;
use PHPUnit\Event\TestRunner\Started;
use PHPUnit\Event\TestRunner\StartedSubscriber;

/**
 * @internal
 */
final class EnsureKernelDumpIsFlushed implements StartedSubscriber
{
    /**
     * Runs the subscriber.
     */
    public function notify(Started $event): void
    {
        $kernelDump = Container::getInstance()->get(KernelDump::class);

        assert($kernelDump instanceof KernelDump);

        $kernelDump->disable();
    }
}

Function Calls

None

Variables

None

Stats

MD5 61213c4bf872f83772b1b5a7c0697201
Eval Count 0
Decode Time 78 ms