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 declare(strict_types=1); /* * This file is part of PHP CS Fixer. * * (c) Fabien..
Decoded Output download
<?php
declare(strict_types=1);
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <[email protected]>
* Dariusz Rumiski <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace PhpCsFixer\RuleSet\Sets;
use PhpCsFixer\RuleSet\AbstractMigrationSetDescription;
/**
* @internal
*/
final class PHP80MigrationRiskySet extends AbstractMigrationSetDescription
{
public function getRules(): array
{
return [
'@PHP74Migration:risky' => true,
'get_class_to_class_keyword' => true,
'modernize_strpos' => true,
'no_alias_functions' => [
'sets' => [
'@all',
],
],
'no_php4_constructor' => true,
'no_unneeded_final_method' => true, // final private method (not constructor) are no longer allowed >= PHP8.0
'no_unreachable_default_argument_value' => true,
];
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <[email protected]>
* Dariusz Rumiski <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace PhpCsFixer\RuleSet\Sets;
use PhpCsFixer\RuleSet\AbstractMigrationSetDescription;
/**
* @internal
*/
final class PHP80MigrationRiskySet extends AbstractMigrationSetDescription
{
public function getRules(): array
{
return [
'@PHP74Migration:risky' => true,
'get_class_to_class_keyword' => true,
'modernize_strpos' => true,
'no_alias_functions' => [
'sets' => [
'@all',
],
],
'no_php4_constructor' => true,
'no_unneeded_final_method' => true, // final private method (not constructor) are no longer allowed >= PHP8.0
'no_unreachable_default_argument_value' => true,
];
}
}
Function Calls
None |
Stats
MD5 | c0092991d2542ad877b250e9279be1c7 |
Eval Count | 0 |
Decode Time | 118 ms |