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 use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; u..
Decoded Output download
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Laravel\Prompts\{Key, Prompt};
use PowerComponents\LivewirePowerGrid\Actions\AskDatabaseTableName;
test('input component name', function () {
Schema::dropAllTables();
Schema::create('foobar', function (Blueprint $table) {
$table->id();
});
Prompt::fake(['foo', Key::DOWN, Key::ENTER]);
expect(AskDatabaseTableName::handle())->toBe('foobar');
})->skip('Check test: it gets stuck');
?>
Did this file decode correctly?
Original Code
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Laravel\Prompts\{Key, Prompt};
use PowerComponents\LivewirePowerGrid\Actions\AskDatabaseTableName;
test('input component name', function () {
Schema::dropAllTables();
Schema::create('foobar', function (Blueprint $table) {
$table->id();
});
Prompt::fake(['foo', Key::DOWN, Key::ENTER]);
expect(AskDatabaseTableName::handle())->toBe('foobar');
})->skip('Check test: it gets stuck');
Function Calls
None |
Stats
MD5 | 96409ff7ffdedf13fb5d797e953f2f2e |
Eval Count | 0 |
Decode Time | 87 ms |