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 namespace Illuminate\Tests\Integration\Encryption; use Illuminate\Encryption\Encry..
Decoded Output download
<?php
namespace Illuminate\Tests\Integration\Encryption;
use Illuminate\Encryption\Encrypter;
use Orchestra\Testbench\Attributes\WithConfig;
use Orchestra\Testbench\TestCase;
use RuntimeException;
#[WithConfig('app.key', 'base64:IUHRqAQ99pZ0A1MPjbuv1D6ff3jxv0GIvS2qIW4JNU4=')]
class EncryptionTest extends TestCase
{
public function testEncryptionProviderBind()
{
$this->assertInstanceOf(Encrypter::class, $this->app->make('encrypter'));
}
public function testEncryptionWillNotBeInstantiableWhenMissingAppKey()
{
$this->expectException(RuntimeException::class);
$this->app['config']->set('app.key', null);
$this->app->make('encrypter');
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Illuminate\Tests\Integration\Encryption;
use Illuminate\Encryption\Encrypter;
use Orchestra\Testbench\Attributes\WithConfig;
use Orchestra\Testbench\TestCase;
use RuntimeException;
#[WithConfig('app.key', 'base64:IUHRqAQ99pZ0A1MPjbuv1D6ff3jxv0GIvS2qIW4JNU4=')]
class EncryptionTest extends TestCase
{
public function testEncryptionProviderBind()
{
$this->assertInstanceOf(Encrypter::class, $this->app->make('encrypter'));
}
public function testEncryptionWillNotBeInstantiableWhenMissingAppKey()
{
$this->expectException(RuntimeException::class);
$this->app['config']->set('app.key', null);
$this->app->make('encrypter');
}
}
Function Calls
None |
Stats
MD5 | b21bd821c204f490f4739fcc7d479021 |
Eval Count | 0 |
Decode Time | 90 ms |