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 Passbolt\AccountSettings\Test\Fixture; use App\Utility\UuidFactory; use C..

Decoded Output download

<?php
namespace Passbolt\AccountSettings\Test\Fixture;

use App\Utility\UuidFactory;
use Cake\TestSuite\Fixture\TestFixture;

/**
 * AccountSettingsFixture
 */
class AccountSettingsFixture extends TestFixture
{
    /**
     * Init method
     *
     * @return void
     */
    public function init(): void
    {
        $this->records = [
            [
                'id' => UuidFactory::uuid('account.settings.ada.theme'),
                'user_id' => UuidFactory::uuid('user.id.ada'),
                'property_id' => UuidFactory::uuid('account.settings.property.id.theme'),
                'property' => 'theme',
                'value' => 'midgar',
            ],
            [
                'id' => UuidFactory::uuid('account.settings.betty.theme'),
                'user_id' => UuidFactory::uuid('user.id.betty'),
                'property_id' => UuidFactory::uuid('account.settings.property.id.theme'),
                'property' => 'theme',
                'value' => 'default',
            ],
        ];
        parent::init();
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php
namespace Passbolt\AccountSettings\Test\Fixture;

use App\Utility\UuidFactory;
use Cake\TestSuite\Fixture\TestFixture;

/**
 * AccountSettingsFixture
 */
class AccountSettingsFixture extends TestFixture
{
    /**
     * Init method
     *
     * @return void
     */
    public function init(): void
    {
        $this->records = [
            [
                'id' => UuidFactory::uuid('account.settings.ada.theme'),
                'user_id' => UuidFactory::uuid('user.id.ada'),
                'property_id' => UuidFactory::uuid('account.settings.property.id.theme'),
                'property' => 'theme',
                'value' => 'midgar',
            ],
            [
                'id' => UuidFactory::uuid('account.settings.betty.theme'),
                'user_id' => UuidFactory::uuid('user.id.betty'),
                'property_id' => UuidFactory::uuid('account.settings.property.id.theme'),
                'property' => 'theme',
                'value' => 'default',
            ],
        ];
        parent::init();
    }
}

Function Calls

None

Variables

None

Stats

MD5 a75c211835ade7588f69f933d414f3c9
Eval Count 0
Decode Time 75 ms