caisse-bliss/vendor/doctrine/migrations/lib/Doctrine/Migrations/Exception/NoMigrationsToExecute.php

21 lines
414 B
PHP
Raw Normal View History

2023-06-19 12:13:30 +02:00
<?php
declare(strict_types=1);
namespace Doctrine\Migrations\Exception;
use RuntimeException;
use Throwable;
final class NoMigrationsToExecute extends RuntimeException implements MigrationException
{
public static function new(?Throwable $previous = null): self
{
return new self(
'Could not find any migrations to execute.',
4,
$previous
);
}
}