mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-23 11:14:38 +01:00
18 lines
362 B
PHP
18 lines
362 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Rector\FileFormatter\Exception;
|
||
|
|
||
|
use UnexpectedValueException;
|
||
|
|
||
|
final class ParseIndentException extends UnexpectedValueException
|
||
|
{
|
||
|
public static function fromString(string $string): self
|
||
|
{
|
||
|
$message = sprintf('The content "%s" could not be parsed', $string);
|
||
|
|
||
|
return new self($message);
|
||
|
}
|
||
|
}
|