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); /* * This file is part of PHP CS Fixer. * * (c) Fabien..

Decoded Output download

<?php

declare(strict_types=1);

/*
 * This file is part of PHP CS Fixer.
 *
 * (c) Fabien Potencier <[email protected]>
 *     Dariusz Rumiski <[email protected]>
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

namespace PhpCsFixer\Tests\Linter;

use PhpCsFixer\Linter\Linter;
use PhpCsFixer\Linter\LinterInterface;

/**
 * @author Dariusz Rumiski <[email protected]>
 *
 * @internal
 *
 * @covers \PhpCsFixer\Linter\Linter
 */
final class LinterTest extends AbstractLinterTestCase
{
    public function testIsAsync(): void
    {
        self::assertSame(!class_exists(\CompileError::class), $this->createLinter()->isAsync());
    }

    protected function createLinter(): LinterInterface
    {
        return new Linter();
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

/*
 * This file is part of PHP CS Fixer.
 *
 * (c) Fabien Potencier <[email protected]>
 *     Dariusz Rumiski <[email protected]>
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

namespace PhpCsFixer\Tests\Linter;

use PhpCsFixer\Linter\Linter;
use PhpCsFixer\Linter\LinterInterface;

/**
 * @author Dariusz Rumiski <[email protected]>
 *
 * @internal
 *
 * @covers \PhpCsFixer\Linter\Linter
 */
final class LinterTest extends AbstractLinterTestCase
{
    public function testIsAsync(): void
    {
        self::assertSame(!class_exists(\CompileError::class), $this->createLinter()->isAsync());
    }

    protected function createLinter(): LinterInterface
    {
        return new Linter();
    }
}

Function Calls

None

Variables

None

Stats

MD5 f110290892cb933e3f1a01d9a2e9d6e8
Eval Count 0
Decode Time 103 ms