mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-14 04:44:57 +01:00
3c8f8a03d6
[DowngradePhp80] Skip remove self on DowngradeStaticTypeDeclarationRector (#721)
18 lines
407 B
PHP
18 lines
407 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\FileFormatter\Exception;
|
|
|
|
use InvalidArgumentException;
|
|
final class InvalidIndentStringException extends \InvalidArgumentException
|
|
{
|
|
/**
|
|
* @param string $string
|
|
*/
|
|
public static function fromString($string) : self
|
|
{
|
|
$message = \sprintf('This is not valid indentation "%s"', $string);
|
|
return new self($message);
|
|
}
|
|
}
|