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 Sculpin\Tests\Functional; use Symfony\Componen..
Decoded Output download
<?php
declare(strict_types=1);
namespace Sculpin\Tests\Functional;
use Symfony\Component\Finder\Finder;
class EventListenerExtensionTest extends FunctionalTestCase
{
protected const PROJECT_DIR = '/__EventListenerFixture__';
public function setUp(): void
{
$outputDir = $this->projectDir() . '/output_test';
if (static::$fs->exists($outputDir)) {
static::$fs->remove($outputDir);
}
}
public function testEventListenerExtensionBundle(): void
{
$expectedFile = 'sculpin.core.after_run.event';
$this->assertProjectLacksFile('/output_test/' . $expectedFile);
$this->executeSculpin(['generate']);
$this->assertProjectHasGeneratedFile('/' . $expectedFile);
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace Sculpin\Tests\Functional;
use Symfony\Component\Finder\Finder;
class EventListenerExtensionTest extends FunctionalTestCase
{
protected const PROJECT_DIR = '/__EventListenerFixture__';
public function setUp(): void
{
$outputDir = $this->projectDir() . '/output_test';
if (static::$fs->exists($outputDir)) {
static::$fs->remove($outputDir);
}
}
public function testEventListenerExtensionBundle(): void
{
$expectedFile = 'sculpin.core.after_run.event';
$this->assertProjectLacksFile('/output_test/' . $expectedFile);
$this->executeSculpin(['generate']);
$this->assertProjectHasGeneratedFile('/' . $expectedFile);
}
}
Function Calls
None |
Stats
MD5 | a98ff48459c4375759e8bf368d155c10 |
Eval Count | 0 |
Decode Time | 113 ms |