mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-16 05:44:59 +01:00
18 lines
399 B
PHP
18 lines
399 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\FileFormatter\Exception;
|
|
|
|
use InvalidArgumentException;
|
|
final class InvalidIndentStringException extends \InvalidArgumentException
|
|
{
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public static function fromString(string $string)
|
|
{
|
|
$message = \sprintf('This is not valid indentation "%s"', $string);
|
|
return new self($message);
|
|
}
|
|
}
|