rector/packages/FileFormatter/Exception/ParseIndentException.php
Tomas Votruba 96112cb1f0 Updated Rector to commit 2da49992ccc8e6d4b20e92a5833316d381921391
2da49992cc [Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390)
2021-07-05 22:50:18 +00:00

19 lines
415 B
PHP

<?php
declare (strict_types=1);
namespace Rector\FileFormatter\Exception;
use UnexpectedValueException;
final class ParseIndentException extends \UnexpectedValueException
{
/**
* @return $this
* @param string $string
*/
public static function fromString($string)
{
$message = \sprintf('The content "%s" could not be parsed', $string);
return new self($message);
}
}