rector/packages/FileFormatter/Exception/ParseIndentException.php
Tomas Votruba 0ff3bb0f72 Updated Rector to commit 3c8f8a03d652d3788c91a0cd886e785cfacb959c
3c8f8a03d6 [DowngradePhp80] Skip remove self on DowngradeStaticTypeDeclarationRector (#721)
2021-08-20 13:43:25 +00:00

18 lines
401 B
PHP

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