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\FixerConfiguration;
final class DeprecatedFixerOption implements DeprecatedFixerOptionInterface
{
private FixerOptionInterface $option;
private string $deprecationMessage;
public function __construct(FixerOptionInterface $option, string $deprecationMessage)
{
$this->option = $option;
$this->deprecationMessage = $deprecationMessage;
}
public function getName(): string
{
return $this->option->getName();
}
public function getDescription(): string
{
return $this->option->getDescription();
}
public function hasDefault(): bool
{
return $this->option->hasDefault();
}
public function getDefault()
{
return $this->option->getDefault();
}
public function getAllowedTypes(): ?array
{
return $this->option->getAllowedTypes();
}
public function getAllowedValues(): ?array
{
return $this->option->getAllowedValues();
}
public function getNormalizer(): ?\Closure
{
return $this->option->getNormalizer();
}
public function getDeprecationMessage(): string
{
return $this->deprecationMessage;
}
}
?>
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\FixerConfiguration;
final class DeprecatedFixerOption implements DeprecatedFixerOptionInterface
{
private FixerOptionInterface $option;
private string $deprecationMessage;
public function __construct(FixerOptionInterface $option, string $deprecationMessage)
{
$this->option = $option;
$this->deprecationMessage = $deprecationMessage;
}
public function getName(): string
{
return $this->option->getName();
}
public function getDescription(): string
{
return $this->option->getDescription();
}
public function hasDefault(): bool
{
return $this->option->hasDefault();
}
public function getDefault()
{
return $this->option->getDefault();
}
public function getAllowedTypes(): ?array
{
return $this->option->getAllowedTypes();
}
public function getAllowedValues(): ?array
{
return $this->option->getAllowedValues();
}
public function getNormalizer(): ?\Closure
{
return $this->option->getNormalizer();
}
public function getDeprecationMessage(): string
{
return $this->deprecationMessage;
}
}
Function Calls
None |
Stats
MD5 | 2adc0db2f8203359e9d466ae6d33ab7b |
Eval Count | 0 |
Decode Time | 94 ms |