Skip to content

Commit

Permalink
Rename and include plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Nov 29, 2024
1 parent 348907b commit 4d1bfb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Middleware/PendingMigrationsMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
return $handler->handle($request);
}

$message = sprintf('Pending migrations need to be run for %s:', implode(', ', array_keys($pendingMigrations))) . ' ' . PHP_EOL;
$message .= '`' . implode('`, `', $pendingMigrations) . '`';
$message = sprintf('Pending migrations need to be run for %s:', implode(', ', array_keys($pendingMigrations))) . PHP_EOL;
$message .= '`' . implode('`,' . PHP_EOL . '`', $pendingMigrations) . '`';

throw new CakeException($message, 503);
}
Expand Down

0 comments on commit 4d1bfb2

Please sign in to comment.