welcome back to dyb-tech
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
<?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|null $previous = null): self
|
||||
{
|
||||
return new self(
|
||||
'Could not find any migrations to execute.',
|
||||
4,
|
||||
$previous,
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user