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 /* * This file is part of Cachet. * * (c) Alt Three Services Limited * * For t..

Decoded Output download

<?php

/*
 * This file is part of Cachet.
 *
 * (c) Alt Three Services Limited
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace CachetHQ\Tests\Cachet\Providers;

use AltThree\TestBench\ServiceProviderTrait;
use CachetHQ\Cachet\Repositories\Metric\MetricRepository;
use CachetHQ\Tests\Cachet\AbstractTestCase;

/**
 * This is the repository service provider test class.
 *
 * @author Graham Campbell <[email protected]>
 */
class RepositoryServiceProviderTest extends AbstractTestCase
{
    use ServiceProviderTrait;

    public function testMetricRepositoryIsInjectable()
    {
        $this->assertIsInjectable(MetricRepository::class);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

/*
 * This file is part of Cachet.
 *
 * (c) Alt Three Services Limited
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace CachetHQ\Tests\Cachet\Providers;

use AltThree\TestBench\ServiceProviderTrait;
use CachetHQ\Cachet\Repositories\Metric\MetricRepository;
use CachetHQ\Tests\Cachet\AbstractTestCase;

/**
 * This is the repository service provider test class.
 *
 * @author Graham Campbell <[email protected]>
 */
class RepositoryServiceProviderTest extends AbstractTestCase
{
    use ServiceProviderTrait;

    public function testMetricRepositoryIsInjectable()
    {
        $this->assertIsInjectable(MetricRepository::class);
    }
}

Function Calls

None

Variables

None

Stats

MD5 c397ce2fe79e8ee9ce59bb89d73fd1ea
Eval Count 0
Decode Time 90 ms