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 the Symfony package. * * (c) Fabien Potencier <fabien@..
Decoded Output download
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Console\Tests\Descriptor;
use Symfony\Component\Console\Descriptor\MarkdownDescriptor;
use Symfony\Component\Console\Tests\Fixtures\DescriptorApplicationMbString;
use Symfony\Component\Console\Tests\Fixtures\DescriptorCommandMbString;
class MarkdownDescriptorTest extends AbstractDescriptorTestCase
{
public static function getDescribeCommandTestData()
{
return self::getDescriptionTestData(array_merge(
ObjectsProvider::getCommands(),
['command_mbstring' => new DescriptorCommandMbString()]
));
}
public static function getDescribeApplicationTestData()
{
return self::getDescriptionTestData(array_merge(
ObjectsProvider::getApplications(),
['application_mbstring' => new DescriptorApplicationMbString()]
));
}
protected function getDescriptor()
{
return new MarkdownDescriptor();
}
protected static function getFormat()
{
return 'md';
}
}
?>
Did this file decode correctly?
Original Code
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Console\Tests\Descriptor;
use Symfony\Component\Console\Descriptor\MarkdownDescriptor;
use Symfony\Component\Console\Tests\Fixtures\DescriptorApplicationMbString;
use Symfony\Component\Console\Tests\Fixtures\DescriptorCommandMbString;
class MarkdownDescriptorTest extends AbstractDescriptorTestCase
{
public static function getDescribeCommandTestData()
{
return self::getDescriptionTestData(array_merge(
ObjectsProvider::getCommands(),
['command_mbstring' => new DescriptorCommandMbString()]
));
}
public static function getDescribeApplicationTestData()
{
return self::getDescriptionTestData(array_merge(
ObjectsProvider::getApplications(),
['application_mbstring' => new DescriptorApplicationMbString()]
));
}
protected function getDescriptor()
{
return new MarkdownDescriptor();
}
protected static function getFormat()
{
return 'md';
}
}
Function Calls
None |
Stats
MD5 | b9c1025c3bd5ff1c08854f39ce894e66 |
Eval Count | 0 |
Decode Time | 87 ms |